The physical education teacher buys 4 volleyballs for 39 yuan each, and 3 basketballs for 56 yuan each. How much is the total cost?
体育老师买4个排球，每个39元，3个篮球每个56元，一共用去多少元？
<gadget id="calculator">39 * 4</gadget>
<output>156</output>

<gadget id="calculator">56 * 3</gadget>
<output>168</output>

<gadget id="calculator">156 + 168</gadget>
<output>324</output>

<result>324</result>