24 teachers took students from 12 classes to the spring outing, with an average of 45 students in each class. How many teachers and students went to the spring outing?
24位老师带着12个班的同学去春游，平均每班有45人．去春游的老师和学生一共有多少人？
<gadget id="calculator">45 * 12</gadget>
<output>540</output>

<gadget id="calculator">540 + 24</gadget>
<output>564</output>

<result>564</result>