There are 30 people in a class participating in two sports activities in the school, and each person must participate in at least one activity. Among them, (2/3) of the students participated in the tug-of-war competition, which is 6 more than the students who participated in the shuttlecock kicking. These two activities How many people participated?
某班有30人参加学校的两项体育活动，每人至少要参加一项活动，其中有(2/3)的同学参加了拔河比赛，比参加踢毽子的同学多6人，这两项活动都参加的有多少人？
<gadget id="calculator">2 / 3</gadget>
<output>2/3 = around 0.666667</output>

<gadget id="calculator">30 * (2/3)</gadget>
<output>20</output>

<gadget id="calculator">20 - 6</gadget>
<output>14</output>

<gadget id="calculator">14 - 30</gadget>
<output>-16</output>

<gadget id="calculator">20 + (-16)</gadget>
<output>4</output>

<result>4</result>