chandan's submission of Sebi and the cube | CodeChef