A piece of rectangular paper with a length of 24 cm and a width of 18 cm should be divided into several small squares. What is the maximum side length of the small squares in cm?
一张长方形纸，长24厘米，宽18厘米，要把它正好分成若干个小正方形，小正方形的边长最大是多少厘米？
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>