Devesh Agarwal's submission of Chewing | CodeChef