certain school selects 50 people to participate in the composition and mathematics competitions. 14 people win the composition competition, 12 people win the mathematics competition, 3 people win both competitions, and how many people do not win both competitions.
某校选出50人参加作文和数学竞赛，作文竞赛有14人获奖，数学竞赛有12人获奖，有3人两项竞赛都获奖，有多少人两项竞赛都没获奖．
<gadget id="calculator">12 - 3</gadget>
<output>9</output>

<gadget id="calculator">14 + 9</gadget>
<output>23</output>

<gadget id="calculator">50 - 23</gadget>
<output>27</output>

<result>27</result>