In a showroom, colored glass cubes are placed adjacent to each other in such a way that they take the shape of a big cube. If the total number of colored cubes so placed is 512, then find the number of layers of colored cubes that make up the cube
1
8
2
512
3
1
4
64