Class 1 of the third grade has 9 people participating in rope skipping, 8 people participating in shuttlecock kicking, and 3 people participating in both competitions. How many people participated in these two competitions?
三年级一班参加跳绳的9人，踢毽的8人，两项都参加的3人，参加这两项比赛的共有多少人？
<gadget id="calculator">8 - 3</gadget>
<output>5</output>

<gadget id="calculator">9 + 5</gadget>
<output>14</output>

<result>14</result>