The school held a competition for the third grade. 24 people participated in the Chinese competition, 26 people participated in the mathematics competition, and 15 people participated in both Chinese and mathematics. How many people participated in the competition?
学校举成三年级竞赛，参加语文竞赛的有24人，参加数学竞赛的有26人，语文、数学都参加的15人，参加竞赛的一共有多少人？
<gadget id="calculator">26 - 15</gadget>
<output>11</output>

<gadget id="calculator">24 + 11</gadget>
<output>35</output>

<result>35</result>