The school held a sports meeting. There were 45 participants in the third grade, 8 fewer students in the fourth grade than the third grade, and three times the total number of participants in the fifth grade. How many people participated in the fifth grade?
学校举行运动会，三年级有45人参加，四年级比三年级少8人，五年级参加的人数是三、四年级参加的总人数的3倍，五年级参加多少人？
<gadget id="calculator">45 - 8</gadget>
<output>37</output>

<gadget id="calculator">45 + 37</gadget>
<output>82</output>

<gadget id="calculator">82 * 3</gadget>
<output>246</output>

<result>246</result>