Three sides are coated with eight small cubes, that is, the positions where the eight top corners of the original cube are located.
The two sides are drawn with 12 sides of the original cube, and each side is cut with two small cubes except the middle corner *** 12*2=24.
On the one hand, four small cubes ***6*4=24 were drawn in the center of the six faces of the original cube.
Unpainted are eight small cubes cut from the center of the original cube.
That is 8+24+24+8=64.