Mayank Jain's submission of Greedy puppy | CodeChef