The school bought 5 basketballs and 6 footballs. The basketballs are 32.4 yuan each, and the footballs are 23.5 yuan each. How much did the school spend in total?
学校买来5个篮球和6个足球，篮球每个32.4元，足球每个23.5元，学校一共花了多少钱？
<gadget id="calculator">32.4 * 5</gadget>
<output>162</output>

<gadget id="calculator">23.5 * 6</gadget>
<output>141</output>

<gadget id="calculator">162 + 141</gadget>
<output>303</output>

<result>303</result>