Teacher Cai and Teacher Hu led 45 students from Class 3 and 1 to see the exhibition. The ticket price is 24 yuan for adults and half price for children. How much did they have to pay in total?
蔡老师和胡老师带领三1班的45名学生去看展览，成人票价为24元一张，儿童半价，他们一共要付多少钱？
<gadget id="calculator">24 * 2</gadget>
<output>48</output>

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

<gadget id="calculator">45 * 12</gadget>
<output>540</output>

<gadget id="calculator">48 + 540</gadget>
<output>588</output>

<result>588</result>