Amit Dwivedi's submission of Piece of cake | CodeChef