Tiancheng Lou's submission of Total Diamonds | CodeChef