In Yuhong Primary School, 480 more students participated in the group gymnastics performance than those who did not. Due to the need, another 50 people are added to participate in the group gymnastics performance, so that the number of participants is exactly 5 times the number of non-participants. Ask how many people participated in the group gymnastics performance and did not participate in the group gymnastics performance.
育红小学参加集体操表演的同学比不参加的同学多480人．现因需要，又增加50人参加集体操表演，这样参加的人数正好是不参加人数的5倍．问参加集体操表演和不参加集体操表演的人数共有多少人．
<gadget id="calculator">50 * 5</gadget>
<output>250</output>

<gadget id="calculator">480 + 50 + 250</gadget>
<output>780</output>

<gadget id="calculator">5 - 1</gadget>
<output>4</output>

<gadget id="calculator">780 / 4</gadget>
<output>195</output>

<gadget id="calculator">195 + 480 + 195</gadget>
<output>870</output>

<result>870</result>