There are 43 students in Class 1 of the fourth grade. At the beginning of the school year, each person is assigned a set of new desks and chairs. Each desk is 126 yuan, and each chair is 54 yuan. How much did it cost to buy the new desks and chairs?
四年级一班有43名同学，开学时，分配到一人一套新桌椅，每张桌子126元，每把椅子54元，买新桌椅一共用了多少元？
<gadget id="calculator">126 + 54</gadget>
<output>180</output>

<gadget id="calculator">180 * 43</gadget>
<output>7_740</output>

<result>7_740</result>