There are 52 students in a class, 35 students in the mathematics interest group, and 41 students in the music group, and each person participates in at least one of these two groups. How many people in this class participate in both groups?
一个班有学生52人，参加数学兴趣小组有35人，音乐小组有41人，并且每人至少参加这两组中的一个组，这个班两组都参加的有多少人．
<gadget id="calculator">35 + 41</gadget>
<output>76</output>

<gadget id="calculator">76 - 52</gadget>
<output>24</output>

<result>24</result>