The school buys 3 footballs at 42 yuan each, and 4 basketballs at 65 yuan each. How much did it cost to buy football and basketball?
学校买3个足球，每个42元，买4个篮球，每个65元．买足球和篮球一共用了多少元？
<gadget id="calculator">42 * 3</gadget>
<output>126</output>

<gadget id="calculator">65 * 4</gadget>
<output>260</output>

<gadget id="calculator">126 + 260</gadget>
<output>386</output>

<result>386</result>