There are two wooden sticks, 24cm and 36cm long respectively. To cut them into small sticks of the same length, no surplus is allowed. How many centimeters can each small stick be at the longest?
有两根木棒，分别长24cm和36cm．要把它们截成同样长的小棒，不许剩余，每根小棒最长能有多少厘米？
<gadget id="calculator">2 * 2 * 3</gadget>
<output>12</output>

<result>12</result>