There are 54 students in the naughty class, and all the desks and chairs need to be replaced in the new semester. The manufacturer, Master Zhang, said: "The price of a table is 78 yuan, and the price of a chair is 21 yuan, and they can be delivered to the school." The porter, Master Li, said: "It takes 54 yuan for labor to put the table and chairs in place." ． Please calculate how much it will cost to replace all the tables and chairs in the naughty class?
淘气班上有54名学生，新学期要全部更换桌椅．厂家张师傅说："一张桌子的价格是78元，一把椅子的价格是21元，可以送货到学校．"搬运工李师傅说："把桌椅安放好还需要54元人工费"．请你算一算淘气班上更换全部桌椅一共需要多少元？
<gadget id="calculator">78 + 21</gadget>
<output>99</output>

<gadget id="calculator">99 * 54</gadget>
<output>5_346</output>

<gadget id="calculator">5_346 + 54</gadget>
<output>5_400</output>

<result>5_400</result>