Teacher Wang divided the third-grade students into 27 teams on average, and later, for some reason, divided them into 25 teams on average. At this time, each team had 2 more students than before. How many students are there in the third grade?
王老师将三年级同学平均分成27个小队，后来由于某种原因，又平均分成25个小队，这时每个小队比原来多2名同学，三年级有多少名同学？
<gadget id="calculator">25 * 2</gadget>
<output>50</output>

<gadget id="calculator">27 - 25</gadget>
<output>2</output>

<gadget id="calculator">50 / 2</gadget>
<output>25</output>

<gadget id="calculator">25 * 27</gadget>
<output>675</output>

<result>675</result>