Three cubes whose side lengths are 3, 5, and 8 are glued together. Among these cubes glued together in various ways, what is the surface area of the cube with the smallest surface area?
边长分别是3、5、8的三个正方体被粘合在一起，在这些用各种方式粘合在一起的立体中，表面积最小的那个立体的表面积是多少．
<gadget id="calculator">3 * 3</gadget>
<output>9</output>

<gadget id="calculator">5 * 5</gadget>
<output>25</output>

<gadget id="calculator">8 * 8</gadget>
<output>64</output>

<gadget id="calculator">9 + 25 + 64</gadget>
<output>98</output>

<gadget id="calculator">98 * 6</gadget>
<output>588</output>

<gadget id="calculator">9 + 25</gadget>
<output>34</output>

<gadget id="calculator">34 * 2</gadget>
<output>68</output>

<gadget id="calculator">588 - 68</gadget>
<output>520</output>

<result>520</result>