Gurpreet Singh's submission of Greedy puppy | CodeChef