Dinesh Goyal's submission of Chef and Bored Games | CodeChef