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

<result>8</result>