In a mathematics test organized by the school, among the 40 students in Class 2, 21 male students had an average score of 82 points, and 19 female students had an average score of 87 points. What is the average score of all students?
在一次学校组织的数学考试中，六2班40名学生中有21名男同学的平均成绩是82分，19名女同学的平均成绩是87分．全体同学的平均成绩是多少分？
<gadget id="calculator">82 * 21</gadget>
<output>1_722</output>

<gadget id="calculator">87 * 19</gadget>
<output>1_653</output>

<gadget id="calculator">1_722 + 1_653</gadget>
<output>3_375</output>

<gadget id="calculator">3_375 / 40</gadget>
<output>675/8 = around 84.375</output>

<result>675/8 = around 84.375</result>