Class 1 of the third grade has 40 people participating in the chorus team, 20 people participating in the dance team, and 14 people participating in both the chorus team and the dance team. There were 10 people who did not participate in the two teams. Please count how many people there are in this class.
三年级1班参加合唱队的有40人，参加舞蹈队的有20人，既参加合唱队又参加舞蹈队的有14人．这两队都没有参加的有10人．请算一算这个班共有多少人．
<gadget id="calculator">20 - 14</gadget>
<output>6</output>

<gadget id="calculator">40 + 6 + 10</gadget>
<output>56</output>

<result>56</result>