Students in the third, fourth and fifth grades of a certain school participated in the composition competition. There were 8 students in the third grade, accounting for 1/6 of the total number of participants, and the number of participants in the fourth grade accounted for 1/3 of the total number of students. How many students were there in the fifth grade? join?
某校三、四、五年级学生参加作文竞赛，三年级有8人参加，占总人数的(1/6)，四年级参加的人数占总人数的(1/3)，五年级有多少人参加？
<gadget id="calculator">1 / 6</gadget>
<output>1/6 = around 0.166667</output>

<gadget id="calculator">8 / (1/6)</gadget>
<output>48</output>

<gadget id="calculator">1 / 3</gadget>
<output>1/3 = around 0.333333</output>

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

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

<result>24</result>