Amit Dwivedi's submission of Greedy puppy | CodeChef