There are three ropes, the first one is 12 meters long, the second one is 18 meters long, and the third one is 24 meters long. Now we need to cut them into small pieces of the same length. How many meters is the longest of each piece?
有三根绳子，第一根长12米，第二根长18米，第三根长24米，现在要把它们剪成同样长的小段，每段最长多少米？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>