Teacher Wang bought sporting goods for the school, 8 volleyballs and 8 basketballs each. Volleyballs are 35 yuan each, and basketballs are 28 yuan each. How much did you spend in total?
王老师给学校买体育用品，排球和篮球各买了8个．排球每个35元，篮球每个28元．一共花了多少元钱？
<gadget id="calculator">35 + 28</gadget>
<output>63</output>

<gadget id="calculator">63 * 8</gadget>
<output>504</output>

<result>504</result>