A car carries a total of 50 passengers, some of whom buy type A tickets at 0.8 yuan each, and others buy type B tickets at 0.3 yuan each. The final statistics show that the income of type A tickets sold is 18 yuan more than that of type B tickets. How many people buy type A tickets?
一辆汽车共载客50人，其中一部分人买A种票，每张0.8元，另一部分人买B种票，每张0.3元．最后统计出：所卖的A种票比B种票多收入18元．多少人买A种票？
<gadget id="calculator">0.3 * 50</gadget>
<output>15</output>

<gadget id="calculator">15 + 18</gadget>
<output>33</output>

<gadget id="calculator">0.8 + 0.3</gadget>
<output>1.1</output>

<gadget id="calculator">33 / 1.1</gadget>
<output>30</output>

<result>30</result>