On the eve of June 1st, students from two classes in the fourth grade made lanterns. There are 54 people in the first class, and each person does 4 on average; there are also 54 people in the second class, and each person makes 6 on average. How many did the two classes do in total?
六一前夕，四年级两个班的同学做灯笼．一班有54人，平均每人做4个；二班也有54人，平均每人做6个．两个班一共做了多少个？
<gadget id="calculator">4 * 54</gadget>
<output>216</output>

<gadget id="calculator">6 * 54</gadget>
<output>324</output>

<gadget id="calculator">216 + 324</gadget>
<output>540</output>

<result>540</result>