504 students in the fourth grade participated in the interest class, 112 students participated in the literature and art group, and the number of people participating in the science and technology group was twice that of the literature and art group. The rest participated in the sports group. How many students participated in the sports group?
四年级504名同学参加兴趣班，有112人参加文艺组，参加科技组的人数是文艺组的2倍，其余的参加体育组，参加体育组的同学有多少人？
<gadget id="calculator">112 * 2</gadget>
<output>224</output>

<gadget id="calculator">504 - 224 - 112</gadget>
<output>168</output>

<result>168</result>