The students planted trees, with an average of 3 trees per person. There were 41 students in the first class and 39 students in the second class. How many trees were planted in total in the two classes?
同学们植树，平均每人植3棵，一班有学生41人，二班有学生39人，两班一共植树多少棵？
<gadget id="calculator">41 + 39</gadget>
<output>80</output>

<gadget id="calculator">80 * 3</gadget>
<output>240</output>

<result>240</result>