Dinesh Goyal's submission of D-Or | CodeChef