A regular cube with a side length of 8 is composed of several regular cubes with a side length of 1. Now it is necessary to paint the surface of the big cube. How many small cubes are painted in total?
一个边长为8的正立方体，由若干个边长为1的正立方体组成，现在要将大立方体表面涂漆，一共有多少个小立方体被涂上了颜色．
<gadget id="calculator">8 * 8 * 8</gadget>
<output>512</output>

<gadget id="calculator">6 * 6 * 6</gadget>
<output>216</output>

<gadget id="calculator">512 - 216</gadget>
<output>296</output>

<result>296</result>