In the fifth sports meeting, Hongxing Elementary School formed a large square team with 30 people on each side on the outermost side of the square team. How many students are there?
在第五届运动会上，红星小学组成了一个大型方块队，方块队最外边每边30人，共有10层，中间5层的位置由20个同学抬着这次运动会的会徽，这个方块队共由多少个同学组成？
<gadget id="calculator">30 ** 2</gadget>
<output>900</output>

<gadget id="calculator">2 * 5</gadget>
<output>10</output>

<gadget id="calculator">30 - 10</gadget>
<output>20</output>

<gadget id="calculator">20 ** 2</gadget>
<output>400</output>

<gadget id="calculator">900 - 400</gadget>
<output>500</output>

<gadget id="calculator">500 + 20</gadget>
<output>520</output>

<result>520</result>