A wooden block is in the form of a inch cube. It is painted on the top and the four side faces, but not on the bottom. If the block is cut into smaller cubes, each measuring inch, as shown below. How many small pieces will have paint on exactly two sides?
8
10
12
14
16