Divide a rectangular paper with a length of 24 cm and a width of 18 cm into several identical small squares with side lengths equal to whole centimeters, leaving no residue. What is the maximum side length in centimeters?
将长为24厘米，宽为18厘米的长方形纸，分成边长是整厘米数的若干个相同的小正方形，不留剩余，边长最大是多少厘米．
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>