There is a piece of rectangular paper with a length of 120 cm and a width of 96 cm. If it is to be cut into several squares of the same size without any surplus, what is the maximum side length of the small squares that can be cut out?
有一张长120cm，宽96cm的长方形纸，如果要剪成若干同样大小的正方形而没有剩余，剪出的小正方形的边长最大是几厘米？
<gadget id="calculator">2 * 2 * 2 * 3</gadget>
<output>24</output>

<result>24</result>