The sixth graders participated in the tree planting. There were 36 students in the first class and 42 students in the second class. Both classes sent out the same people to clean up. At this time, the number of people left in the second class was 1 (1/2) times that of the first class. How many people were transferred from the two classes?
六年级同学参加植树，一班36人，二班42人，两班都调出同样的人去大扫除，这时二班剩下人数是一班剩下人数的1(1/2)倍．两个班共调出多少人？
<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">12 / (1/2)</gadget>
<output>24</output>

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

<result>48</result>