Cut a piece of colored paper with a length of 24 cm and a width of 18 cm into some identical small squares without any residues. To minimize the number of small squares, what is the length of its side in cm
把一张长24厘米，宽18厘米的彩纸剪成一些相同小正方形且没有剩余，要使小正方形个数最少，它的边长应是多少厘米
<gadget id="calculator">2 * 3</gadget>
<output>6</output>

<result>6</result>