There are several identical small cubes to form a big cube. If the surface of the big cube is painted red, it is known that there are 294 small cubes with only one side painted red. How many small cubes does this big cube consist of?
有若干个相同的小正方体，组成一个大正方体，如果把大正方体的表面涂上红色，已知只有一面涂红色的小正方体有294个，则这个大正方体由多少个小正方体组成．
<gadget id="calculator">7 + 2</gadget>
<output>9</output>

<gadget id="calculator">9 * 9 * 9</gadget>
<output>729</output>

<result>729</result>