Class 31 has 8 people participating in the Chinese extracurricular group, 9 people participating in the mathematics extracurricular group, and 3 people participating in both groups. How many people are participating in the Chinese and mathematics extracurricular group?
三1班参加语文课外小组的有8人，参加数学课外小组的有9人，两个小组都参加的有3人，参加语文数学课外小组的共有多少人？
<gadget id="calculator">9 - 3</gadget>
<output>6</output>

<gadget id="calculator">8 + 6</gadget>
<output>14</output>

<result>14</result>