The students go to the autumn tour by car, each car can hold 50 people, the first 5 cars are all full, and the sixth car has 18 vacancies. How many people participated in the autumn tour in total?
同学们乘车去秋游，每辆车可乘50人，前5辆车全部乘满，第6辆车还有18个空位．总共有多少人参加秋游？
<gadget id="calculator">50 * 6</gadget>
<output>300</output>

<gadget id="calculator">300 - 18</gadget>
<output>282</output>

<result>282</result>