Aayush Jalan's submission of Greedy DD | CodeChef