The physical education teacher bought 3 volleyballs at 40 yuan each and 5 basketballs at 62 yuan each. How much did you spend in total?
体育老师买了3个排球，每个40元；还买了5个篮球，每个62元，一共用了多少元？
<gadget id="calculator">3 * 40</gadget>
<output>120</output>

<gadget id="calculator">5 * 62</gadget>
<output>310</output>

<gadget id="calculator">120 + 310</gadget>
<output>430</output>

<result>430</result>