There are 46 people in class 31, 24 of them subscribed to "Fun Mathematics", 23 people subscribed to "Happy Composition", and 18 people subscribed to both publications. Do you know how many people did not subscribe to both publications?
三1班有46人，其中24人订阅了《趣味数学》，23人订阅了《开心作文》，有18人两种刊物都订阅了，你知道有多少人两种刊物都没订阅吗？
<gadget id="calculator">23 - 18</gadget>
<output>5</output>

<gadget id="calculator">24 + 5</gadget>
<output>29</output>

<gadget id="calculator">46 - 29</gadget>
<output>17</output>

<result>17</result>