manas agrawal's submission of Greedy puppy | CodeChef