The school dance team has a first team and a second team, the first team has 12 people, and the second team has 18 people. A dance competition had to send a team, but there were not enough people, so some people were transferred from the second team to the first team. After the transfer, the number of people in the second team is 1/4 of that of the first team. How many people have been transferred from the second team?
学校舞蹈队有一队、二队，一队12人，二队18人．一次舞蹈比赛要派出一队，但是人数不够，便从二队调了一些人到一队．调过去后，二队的人数是一队的(1/4)，问二队调走了多少人？
<gadget id="calculator">12 + 18</gadget>
<output>30</output>

<gadget id="calculator">1 / 4</gadget>
<output>1/4 = around 0.25</output>

<gadget id="calculator">1 + (1/4)</gadget>
<output>5/4 = around 1.25</output>

<gadget id="calculator">30 / (5/4)</gadget>
<output>24</output>

<gadget id="calculator">24 * (1/4)</gadget>
<output>6</output>

<gadget id="calculator">18 - 6</gadget>
<output>12</output>

<result>12</result>