During the National Day, the school organized 340 teachers and students to visit Nanjing Tulou. Tickets for Line A are 90 yuan per person, and tickets for Line B are 60 yuan per person. How much did you spend for the tickets for this visit?
国庆期间，学校组织了340名师生参观了南靖土楼，其中A线的门票每人90元，B线的门票是每人60元，这次参观买门票一共花了多少钱？
<gadget id="calculator">90 + 60</gadget>
<output>150</output>

<gadget id="calculator">150 * 340</gadget>
<output>51_000</output>

<result>51_000</result>