There are two engineering teams, A and B, the number of team A is twice the number of team B, team A transfers 9 people, and team B transfers 18 people, the number of team A is half of the number of team B, how many people does team A have? ?
甲、乙两个工程队，甲队人数是乙队人数的2倍，甲队调出9人，乙队调入18人后，甲队人数是乙队人数的一半，原来甲队有多少人？
<gadget id="calculator">18 / 2</gadget>
<output>9</output>

<gadget id="calculator">9 + 9</gadget>
<output>18</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">2 - (1/2)</gadget>
<output>3/2 = around 1.5</output>

<gadget id="calculator">18 / (3/2)</gadget>
<output>12</output>

<gadget id="calculator">2 * 12</gadget>
<output>24</output>

<result>24</result>