The results of a Chinese and Mathematics final exam in Class B, Grade 6 are as follows: 10 people scored 100 points in Chinese, 12 people scored 100 points in Math, 3 people scored 100 points in both subjects, and neither homework scored 100 points There are 28 students in this class. How many students are there in this class?
六年级乙班一次语文、数学期末考试成绩如下：语文得100分的有10人，数学得100分的有12人，两门都得100分的有3人，两门功课都未得100分的有28人，这个班共有多少名学生．
<gadget id="calculator">12 - 3</gadget>
<output>9</output>

<gadget id="calculator">10 + 9 + 28</gadget>
<output>47</output>

<result>47</result>