There are 28 students who have science books, 26 students who have story books, 10 students who have both, and 2 students who have neither. How many students are there in this class?
有科技书的有28人，有故事书的有26人，两种都有的有10人，两种都没有的有2人，这个班共有学生多少人？
<gadget id="calculator">26 - 10</gadget>
<output>16</output>

<gadget id="calculator">28 + 16 + 2</gadget>
<output>46</output>

<result>46</result>