Students participating in military training practice to line up a square formation, and there are 12 people in a large square formation. If the large square formation is reduced by one line in length and width, the remaining people can form a square formation with 5 rows and 5 columns. How many people are there?
参加军事训练的学生练习排下方形方阵，排成一个大方阵余12人，若将大方阵纵横各减少一行，则余下的人可以组成一个5行5列的方阵，这队学生共有多少人．
<gadget id="calculator">5 * 5</gadget>
<output>25</output>

<gadget id="calculator">25 - 12</gadget>
<output>13</output>

<gadget id="calculator">13 + 1</gadget>
<output>14</output>

<gadget id="calculator">14 / 2</gadget>
<output>7</output>

<gadget id="calculator">7 * 7</gadget>
<output>49</output>

<gadget id="calculator">49 + 12</gadget>
<output>61</output>

<result>61</result>