Devansh Bajpai's submission of Greedy puppy | CodeChef