The school organizes students to participate in interest activities. There are 35 people in the table tennis group and 32 people in the football group. Among them, 8 people participated in both groups. How many people participated in the interest group?
学校组织学生参加兴趣活动，乒乓球组的有35人，足球组的有32人，其中有8人两组都参加了，参加兴趣小组的一共有多少人？
<gadget id="calculator">32 - 8</gadget>
<output>24</output>

<gadget id="calculator">35 + 24</gadget>
<output>59</output>

<result>59</result>