One of the two colored ribbons is 18 cm long and the other is 12 cm long. Cut them into short colored ribbons of the same length and there is no surplus. What is the longest length of each colored ribbon?
两根彩带一根长18厘米，一根长12厘米，把它们剪成长度一样的短彩带且没有剩余，每根彩带最长是多少厘米？
<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<result>6</result>