There are 46 people in class 31, of which 29 people participated in the sports group, 25 people participated in the art group, and 15 people participated in both groups. How many people did not participate in either group?
三1班有46人，其中29人参加了体育小组，25人参加了美术小组，有15人两个小组都参加了．有多少人两个小组都没参加？
<gadget id="calculator">25 - 15</gadget>
<output>10</output>

<gadget id="calculator">29 + 10</gadget>
<output>39</output>

<gadget id="calculator">46 - 39</gadget>
<output>7</output>

<result>7</result>