The school plans to purchase 40 chairs and 54 tables. It is known that each chair is 126 yuan and each table is 245 yuan. How much does the school cost in total?
学校计划购买40把椅子和54张桌子．已知每把椅子126元，每张桌子245元，学校一共要花多少元？
<result>18_720</result>