There are two colored ribbons, the first one is 16 meters long and the second one is 24 meters long. Cut them into small pieces of the same length, and there should be no surplus. How many meters is the longest of each small piece?
有两条彩带，第一条长16米，第二条长24米，把它们剪成同样长的小段，不能有剩余，每小段最长多少米？
<gadget id="calculator">2 * 2 * 2</gadget>
<output>8</output>

<result>8</result>