There are two small sticks, 24cm and 36cm long respectively. They should be cut into several small pieces of the same length, and there should be no surplus. How many cm is the longest of each small piece?
有两根小棒，分别长24cm和36cm，要把它们截成同样长的若干小段，不能有剩余，每小段最长是多少cm？
<gadget id="calculator">2 * 2 * 3</gadget>
<output>12</output>

<result>12</result>