Connected Cubes

Problem Name:
Connected Cubes
Site:CodeForces
Links:
Tags:
Problem setters: