There are 12 people in the music interest group and 15 people in the art interest group in class 3 and 2, and 5 people in both of them. How many people are in the art and music groups?
三2班参加音乐兴趣小组的有12人，美术兴趣小组有15人，其中两都参加的有5人，参加美术和音乐组的有多少人．
<gadget id="calculator">15 - 5</gadget>
<output>10</output>

<gadget id="calculator">12 + 10</gadget>
<output>22</output>

<result>22</result>