In the "June 1st" Art Festival performance, there were 14 people dancing and 30 people singing in a chorus. A total of 35 people participated in these two performances. How many people participated in both?
"六一"艺术节汇演中，跳舞的有14人，合唱的有30人，参加这两项演出的一共有35人．两项都参加的有多少人？
<gadget id="calculator">30 - 35</gadget>
<output>-5</output>

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

<result>9</result>