In a calligraphy competition in which all grades participated in a certain elementary school, 18 people in the fourth and fifth grades won prizes, and among the winners, 16 were not in the fourth grade, and 14 were not in the fifth grade. What is the total number of winners of the calligraphy competition in this school?
某小学各年级都参加的一次书法比赛中，四年级与五年级共有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>