The students in the third grade made 78 toys, distributed 18 pieces to the second grade, and distributed the rest to the two classes of the first grade on average. How many toys did each class of the first grade get?
三年级的同学们做了78件玩具，分给二年级18件，剩下的平均分给一年级的两个班，一年级每班分得多少件玩具？
<gadget id="calculator">78 - 18</gadget>
<output>60</output>

<gadget id="calculator">60 / 2</gadget>
<output>30</output>

<result>30</result>