A car carries a total of 50 passengers. Some of them buy type A tickets at 8 yuan each, while others buy type B tickets at 3 yuan each. Type A ticket earns 180 yuan more than Type B ticket. How many people buy Type A ticket?
一辆汽车共载客50人，一部分人买A种票，每张8元，另一部分人买B种票，每张3元．A种票比B种票多收入180元，买A种票的有多少人？
<gadget id="calculator">3 * 50</gadget>
<output>150</output>

<gadget id="calculator">150 + 180</gadget>
<output>330</output>

<gadget id="calculator">8 + 3</gadget>
<output>11</output>

<gadget id="calculator">330 / 11</gadget>
<output>30</output>

<result>30</result>