The school held a shuttlecock kicking competition. There were 40 participants in the third grade, 12 more participants in the fourth grade than the third grade, and 6 fewer participants in the fifth grade than the total number of the third and fourth grades. How many fifth graders are participating?
学校举行踢毽子比赛，三年级有40人参加，四年级参赛的人数比三年级多12人，五年级参赛的人数是三、四年级总人数的3倍少6人．五年级有多少人参赛？
<gadget id="calculator">40 + 40 + 12</gadget>
<output>92</output>

<gadget id="calculator">92 * 3</gadget>
<output>276</output>

<gadget id="calculator">276 - 6</gadget>
<output>270</output>

<result>270</result>