Shobhit Agarwal's submission of Greedy DD | CodeChef