There are two groups of students in the first class of the third grade who collect used batteries. The first group has 14, and each person collects 38 batteries on average. The second group has 12 students, and each person collects 24 batteries. How many used batteries did the two groups collect in total?
三年级一班两个组的学生收集废旧电池，第一组14个，平均每人收集38节，第二组有12人，每人收集24个．两个小组一共收集废旧电池多少个？
<gadget id="calculator">14 * 38</gadget>
<output>532</output>

<gadget id="calculator">12 * 24</gadget>
<output>288</output>

<gadget id="calculator">532 + 288</gadget>
<output>820</output>

<result>820</result>