Put together several identical small squares to form a large cube, and then paint the surface of the large cube with red. Given that there are 54 small cubes with only one side painted red, how many small cubes are there with exactly two sides painted red?
把若干个相同的小正方形拼成一个大立方体，然后再大立方体的表面涂满红色．已知只有1面被涂成红色的小立方体有54块，则恰有2面被涂成红色的小正方体有多少块．
<gadget id="calculator">3 * 12</gadget>
<output>36</output>

<result>36</result>