A solid cube has been painted yellow, blue and black on pairs of opposite faces. The cube is then cut into 36 smaller cubes such that 32 cubes are of the same size while 4 others are of bigger sizes. Also no faces of any of the bigger cubes is painted blue.
How many cubes have only three faces painted ?