Grades 1 to 6 of a certain elementary school participated in a calligraphy competition. As a result, 18 students in grades 5 and 6 won prizes. Among the award-winning students in the whole school, 16 students were not in grade 5, and 14 students were not in grade 6. What is the total number of winners of the calligraphy competition in this school?
某小学1至6年级都参加书法比赛，结果五、六年级共有18人获奖，在全校获奖的同学中，有16人不是五年级的，14人不是六年级的．该校书法比赛获奖的总人数是多少人．
<gadget id="calculator">18 + 16 + 14</gadget>
<output>48</output>

<gadget id="calculator">48 / 2</gadget>
<output>24</output>

<result>24</result>