The school bought 3 basketballs and 3 footballs for the students. The basketballs are 108 yuan each, and the footballs are 80 yuan each. How much did you spend in total?
学校为同学们买来了篮球、足球各3个，篮球每个108元，足球每个80元，求一共花了多少钱？
<gadget id="calculator">108 + 80</gadget>
<output>188</output>

<gadget id="calculator">188 * 3</gadget>
<output>564</output>

<result>564</result>