Mrs. Li, the head teacher of Class 31, took 45 students to visit the Science and Technology Museum. Adult tickets cost 12 yuan each, and children’s tickets cost half of the adult tickets. How much did they have to pay for the tickets?
三1班的班主任李老师带着45名学生一起去参观科技馆，成人票每张12元，儿童票的价钱是成人票的一半，他们买门票一共要付多少钱？
<gadget id="calculator">12 * 1</gadget>
<output>12</output>

<gadget id="calculator">12 / 2</gadget>
<output>6</output>

<gadget id="calculator">6 * 45</gadget>
<output>270</output>

<gadget id="calculator">12 + 270</gadget>
<output>282</output>

<result>282</result>