The fifth and sixth grade students in a town participated in a mathematics competition. The number of fifth graders was equal to the number of sixth graders (5/6). Later, due to the heavy rain, 25 fifth graders could not attend the competition. At this time, the number of fifth graders was equal to the number of sixth graders. of (4/5). How many people participated in the mathematics competition in the fifth grade?
某乡镇五、六年级同学参加数学竞赛，五年级人数是六年级人数的(5/6)，后来因为下暴雨，五年级有25人不能到校参加比赛，这时五年级人数是六年级人数的(4/5)．原来五年级参加数学竞赛的有多少人？
<gadget id="calculator">5 / 6</gadget>
<output>5/6 = around 0.833333</output>

<gadget id="calculator">4 / 5</gadget>
<output>4/5 = around 0.8</output>

<gadget id="calculator">(5/6) - (4/5)</gadget>
<output>1/30 = around 0.033333</output>

<gadget id="calculator">25 / (1/30)</gadget>
<output>750</output>

<gadget id="calculator">750 * (5/6)</gadget>
<output>625</output>

<result>625</result>