The students in the fourth grade participated in the sports meeting. When performing group gymnastics, they first lined up in a square formation with 12 people in each row, a total of 12 rows, and then changed the formation. When these students form a square, how many people should there be on each side?
四年级的同学参加运动会，进行团体操表演时，先排成了每列12人、共12列的方阵，然后变换队形．当这些同学围成一个正方形时，每边应有多少人？
<gadget id="calculator">12 * 12</gadget>
<output>144</output>

<gadget id="calculator">144 / 4</gadget>
<output>36</output>

<gadget id="calculator">36 + 1</gadget>
<output>37</output>

<result>37</result>