A certain cuboid commodity is sold in a shopping mall, and the salesperson needs to "mark a cross" to tie it up. The commodity in the mall is 30 cm long, 20 cm wide, and 10 cm high. How many ways are there to tie it? How many centimeters of rope should be used at least?
商场里销售某种长方体商品，售货员要进行"划十字"捆扎，商场里的这种商品长30厘米、宽20厘米、高10厘米，有几种捆法？最少要用多少厘米扎绳？
<gadget id="calculator">30 * 2</gadget>
<output>60</output>

<gadget id="calculator">20 * 2</gadget>
<output>40</output>

<gadget id="calculator">10 * 4</gadget>
<output>40</output>

<gadget id="calculator">60 + 40 + 40</gadget>
<output>140</output>

<result>140</result>