The original ratio of the football interest group to the basketball interest group was 5:4. Under the influence of Yao Ming joining the NBA, 25 people from the football interest group transferred to the basketball interest group, so the ratio of the two groups was 5:7. Q: How many people were there in the original two groups?
足球兴趣小组与篮球兴趣小组原有人数的比为5：4，受姚明加盟NBA的影响，足球兴趣小组有25人转到篮球兴趣小组，这样两个小组的人数比为5：7．问：原来两个小组共有多少人？
<gadget id="calculator">5 / 7</gadget>
<output>5/7 = around 0.714286</output>

<gadget id="calculator">(5/7) * 25</gadget>
<output>125/7 = around 17.857143</output>

<gadget id="calculator">25 + (125/7)</gadget>
<output>300/7 = around 42.857143</output>

<gadget id="calculator">(5/7) * 4</gadget>
<output>20/7 = around 2.857143</output>

<gadget id="calculator">5 - (20/7)</gadget>
<output>15/7 = around 2.142857</output>

<gadget id="calculator">(300/7) / (15/7)</gadget>
<output>20</output>

<gadget id="calculator">20 * 5</gadget>
<output>100</output>

<gadget id="calculator">20 * 4</gadget>
<output>80</output>

<gadget id="calculator">100 + 80</gadget>
<output>180</output>

<result>180</result>