A solid wooden cube, 3 by 3 by 3, is painted on all six outside faces. It is then cut into 27 small cubes.
How many of the small cubes have paint on exactly two faces?
Think it through first. When you're ready:
12
The 8 corner cubes have 3 painted faces, the 6 face-centre cubes have 1 each, and the centre cube has none. The remaining 12 edge cubes, which are not corners, have 2 painted faces each. Check: 8 + 6 + 1 + 12 = 27.