Anya and Cubes

CodeForces - 525E