There are two colored ribbons, one is 24 cm long and the other is 36 cm long. Now we need to cut them into short colored ribbons of the same length, and there is no surplus. What is the longest length of each short colored ribbon?
有两根彩带，一根长24厘米，另一根长36厘米，现在要把它们剪成同样长的短彩带，且没有剩余，每根短彩带最长是多少厘米？
<gadget id="calculator">2 * 2 * 3</gadget>
<output>12</output>

<result>12</result>