Ivan's submission of Cube Cakes | CodeChef