A piece of square cloth can be made into a square scarf with a side length of 8 cm, or a square scarf with a side length of 10 cm, and there is no surplus. What is the minimum length of this square piece of fabric?
一块正方形布料，既可以做成边长8厘米的方巾，也可以做成边长10厘米的方巾，都没有剩余．这块正方形布料边长至少多少厘米？
<gadget id="calculator">2 * 2 * 2 * 5</gadget>
<output>40</output>

<result>40</result>