There are 24 good students in Class 1, Class 2 has more (1/8) students than Class 1, and 10% less than Class 3. The number of students in Class 3 accounts for 30% of the total number of students in the whole grade. How many people are there?
六1班有三好生24人，六2班三好生比六1班多(1/8)，比六3班少10%，三个班的三好生人数占全年级人数的30%，全年级人数有多少人？
<gadget id="calculator">1 / 8</gadget>
<output>1/8 = around 0.125</output>

<gadget id="calculator">24 * (1/8)</gadget>
<output>3</output>

<gadget id="calculator">24 + 3</gadget>
<output>27</output>

<gadget id="calculator">10 / 100</gadget>
<output>1/10 = around 0.1</output>

<gadget id="calculator">1 - (1/10)</gadget>
<output>9/10 = around 0.9</output>

<gadget id="calculator">27 / (9/10)</gadget>
<output>30</output>

<gadget id="calculator">24 + 27 + 30</gadget>
<output>81</output>

<gadget id="calculator">30 / 100</gadget>
<output>3/10 = around 0.3</output>

<gadget id="calculator">81 / (3/10)</gadget>
<output>270</output>

<result>270</result>