Dinesh Goyal's submission of Chewing | CodeChef