There are two wooden sticks whose lengths are 8 cm and 12 cm respectively. Now they are sawed into small pieces of equal length and there is no surplus. What is the longest length of each small stick?
有两根木棒，长度分别是8厘米和12厘米，现把它们锯成长度相等的小段而没有剩余，每段小棒最长是多少厘米．
<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<result>4</result>