Nikolay Domashenko's submission of Piece of cake | CodeChef