The fourth grade students went on a trip. There were 30 people in the first class, 34 people in the second class, and 2 homeroom teachers. The student ticket was 6 yuan each, and the adult ticket was 10 yuan each. How much is the total ticket cost?
四年级同学去旅游，一班去了30人，二班去了34人，还去2位班主任老师，学生票每张6元，成人票每张10元，买票共需多少元？
<gadget id="calculator">30 + 34</gadget>
<output>64</output>

<gadget id="calculator">64 * 6</gadget>
<output>384</output>

<gadget id="calculator">2 * 10</gadget>
<output>20</output>

<gadget id="calculator">384 + 20</gadget>
<output>404</output>

<result>404</result>