The school bought 8 basketballs and 8 footballs each, 32 yuan per basketball and 48 yuan per football. How much did the school spend in total?
学校买了篮球和足球各8个，篮球32元/个，足球48元/个，学校一共花了多少元钱？
<gadget id="calculator">32 + 48</gadget>
<output>80</output>

<gadget id="calculator">80 * 8</gadget>
<output>640</output>

<result>640</result>