The school bought 20 tables and 35 chairs, each table was 40 yuan, and each chair was 25 yuan. How much does it cost for the school to buy tables and chairs?
学校买来20张桌子，35把椅子，每张桌子40元，每把椅子25元．学校买桌子、椅子共用多少元？
<gadget id="calculator">40 * 20</gadget>
<output>800</output>

<gadget id="calculator">25 * 35</gadget>
<output>875</output>

<gadget id="calculator">800 + 875</gadget>
<output>1_675</output>

<result>1_675</result>