RGB_ICPC7's submission of Kevin and the Cube | CodeChef