Two ropes, one with a length of 18 meters and the other with a length of 24 meters, are cut into skipping ropes of the same length, but there should be no surplus. What is the longest length of each rope?
两根绳子，一根长18米，另一根长24米，把它们剪成同样长的跳绳，但不能有剩余，每根绳子最长多少米？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>