Ajmal Nayeem's submission of Greedy puppy | CodeChef