The school dance team bought 40 sets of costumes, 70 yuan for each jacket, and 46 yuan for each pair of trousers. How much did they spend in total?
学校舞蹈队买了40套演出服，上衣每件70元，裤子每条46元，一共花了多少钱？
<gadget id="calculator">70 + 46</gadget>
<output>116</output>

<gadget id="calculator">116 * 40</gadget>
<output>4_640</output>

<result>4_640</result>