PASCAL 2012 Problem 18

The entire exterior of a solid 6\times6\times3 rectangular prism is painted. Then, the prism is cut into 1\times1\times1 cubes. How many of these cubes have no painted faces?

Answer Choices
A. 16
B. 32
C. 36
D. 50
E. 54