In a certain donation activity, 20 people from class A donated 10 yuan each, and 30 people from class B donated 2 yuan more than the average amount donated by each person in classes A and B. How much did the two classes donate in total?
某次捐款活动中甲班20人，每人捐款10元，乙班30人，每人捐款数比甲、乙两班平均每人捐款数多2元，两个班共捐款多少元？
<gadget id="calculator">10 * 20</gadget>
<output>200</output>

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

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

<gadget id="calculator">200 + 40 + 60</gadget>
<output>300</output>

<gadget id="calculator">30 - 30</gadget>
<output>0</output>

<gadget id="calculator">20 + 0</gadget>
<output>20</output>

<gadget id="calculator">300 / 20</gadget>
<output>15</output>

<gadget id="calculator">15 * 30</gadget>
<output>450</output>

<gadget id="calculator">200 + 450</gadget>
<output>650</output>

<result>650</result>