Rishav Goyal's submission of W String | CodeChef