There are several students in the classroom. After 8 girls leave, the number of boys is three times the number of girls; after 6 boys leave, the number of boys is twice the number of girls. How many students are there in the classroom?
教室里有若干名学生，走了8名女生后，男生人数是女生人数的3倍；又走了6名男生后，男生人数是女生人数的2倍，教室里原有学生多少名？
<gadget id="calculator">3 - 2</gadget>
<output>1</output>

<gadget id="calculator">6 / 1</gadget>
<output>6</output>

<gadget id="calculator">6 * 3</gadget>
<output>18</output>

<gadget id="calculator">18 + 6 + 8</gadget>
<output>32</output>

<result>32</result>