Question 30
Basil used small cubes with side 1 to construct a cube with side 4. After that, he painted 3 faces of the big cube red and the other 3 faces blue. After he finished, there was no small cube with 3 red faces. How many small cubes have both red and blue faces?