The ratio of the number of students from schools A and B participating in the "Hope Cup" National Mathematics Invitational Competition is 7:8, and the ratio of the number of winners is 2:3. There are 320 students from each of the two schools who did not win the prize. How many students participated in the two schools? ．
甲、乙两校参加"希望杯"全国数学邀请赛的学生人数之比是7：8，获奖人数之比是2：3，两校各有320人未获奖，那么两校参赛的学生共有多少人．
<gadget id="calculator">7 - 2</gadget>
<output>5</output>

<gadget id="calculator">7 + 8</gadget>
<output>15</output>

<gadget id="calculator">5 / 15</gadget>
<output>1/3 = around 0.333333</output>

<gadget id="calculator">1 - (1/3)</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">640 / (2/3)</gadget>
<output>960</output>

<result>960</result>