Guangming Primary School needs to purchase sports equipment, 25 basketballs and 16 footballs. It is known that one basketball is 35 yuan and one football is 40 yuan. How much did you spend in total?
光明小学要采购体育器材，需要购买篮球25个足球16个，已知一个篮球35元，一个足球40元，请问一共用了多少元？
<gadget id="calculator">35 * 25</gadget>
<output>875</output>

<gadget id="calculator">40 * 16</gadget>
<output>640</output>

<gadget id="calculator">875 + 640</gadget>
<output>1_515</output>

<result>1_515</result>