amit kumar's submission of Greedy puppy | CodeChef