There are four classes in the third grade of Peiyou Primary School, with 42, 39, 38 and 41 students respectively. How many students are there on average in each class of the third grade?
培优小学三年级有四个班，人数分别为42人，39人，38人和41人，三年级平均每个班有多少人？
<gadget id="calculator">42 + 39 + 38 + 41</gadget>
<output>160</output>

<gadget id="calculator">160 / 4</gadget>
<output>40</output>

<result>40</result>