In a test in a certain class, 26 students got excellent in Chinese and 30 students got excellent in mathematics. Among them, 12 people got both excellent in language and mathematics, and 4 people got no excellent in language and mathematics. How many students are there in this class?
某班在一次测验中，有26人语文获优，有30人数学获优，其中语数双优的有12人，另外有4人语数成绩均未获优，这个班共有多少个学生．
<gadget id="calculator">30 - 12</gadget>
<output>18</output>

<gadget id="calculator">26 + 18 + 4</gadget>
<output>48</output>

<result>48</result>