Bhartiya Kaushik's submission of D-Or | CodeChef