A cube of sides 9 is first painted red and then cut into smaller cubes of side 3. How many of the smaller cube have painted on exactly 2 sides?	Choose the correct answer.
A) 30  B) 24  C) 12  D) 8  E) 9
n=side of big cube/side of small cube   and no. Of smaller cubes with two surfaces painted is (n-2)*12   (3-2)*12= 
<gadget id="calculator">(3-2)*12</gadget>
<output>12</output>
12 ans   ANSWER:12
<result>C</result>
A cube of sides 9 is first painted red and then cut into smaller cubes of side 3. How many of the smaller cube have painted on exactly 2 sides?