The students in the third grade planted 12 trees each, and there were 45 students in the class. How many trees were planted in total?
三年级同学去植树，每人植12棵，全班45人，一共植了多少棵树？
<gadget id="calculator">12 * 45</gadget>
<output>540</output>

<result>540</result>