There are 50 people on May 1st, including 20 boys. The average score of the midterm exam is 85 for girls and 80 for boys. What is the average score of the whole class?
五1有50人，其中男生20人，期中考试女生平均85分，男生平均80分．全班学生的平均为多少分？
<gadget id="calculator">80 * 20</gadget>
<output>1_600</output>

<gadget id="calculator">50 - 20</gadget>
<output>30</output>

<gadget id="calculator">30 * 85</gadget>
<output>2_550</output>

<gadget id="calculator">1_600 + 2_550</gadget>
<output>4_150</output>

<gadget id="calculator">4_150 / 50</gadget>
<output>83</output>

<result>83</result>