In a class, there are 25 students participating in sports activities, 26 students participating in music activities, 24 students participating in art activities, 16 students participating in sports and music activities at the same time, and 15 students participating in music and art activities at the same time There are 14 people participating in physical and beauty activities, and 5 people participating in all three groups at the same time. How many students in this class participated in the activity?
某班参加体育活动的学生有25人，参加音乐活动的有26人，参加美术活动的有24人，同时参加体、音活动的有16人，同时参加音、美活动的有15人同时参加体、美活动的有14人，三个组同时都参加的有5人．这个班共有多少名学生参加活动？
<gadget id="calculator">24 - 16 - 14 - 15</gadget>
<output>-21</output>

<gadget id="calculator">25 + 26 + (-21) + 5</gadget>
<output>35</output>

<result>35</result>