Two iron wires of the same length, one encloses a rectangular parallelepiped frame with a length of 18 cm, a width of 6 cm, and a height of 3 cm; the other one encloses a rectangular frame, what is the volume of the enclosed cube?
两根同样长的铁丝，一根围成长18厘米，宽6厘米，高3厘米的长方体框架：另一根围成正方体框架，围成的正方体的体积是多少立方厘米？
<gadget id="calculator">18 + 6 + 3</gadget>
<output>27</output>

<gadget id="calculator">4 / 12</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">27 * (1/3)</gadget>
<output>9</output>

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

<result>729</result>