A cube is divided into 343 identical cubelets. Each cut is made parallel to some surface of the cube. But before donig that cube is colored with green colour on one set of adjacent faces, red on the second and blue on the third set.
How many cubelets are thin which are colored with exactly three colors?