Devesh Agarwal's submission of Total Diamonds | CodeChef