In a certain class, 26 people participated in the mathematics group, 21 people participated in the English group, and 18 people participated in the biology group. Among them, 8 people participated in both mathematics and biology groups, 11 people participated in both English and mathematics groups, and 6 people participated in both English and biology groups. What is the maximum number of people in this class?
某班同学中，26人参加数学小组，21人参加了英语小组，18人参加了生物小组．其中8人既参加了数学又参加了生物小组，11人既参加了英语又参加了数学小组，6人既参加了英语又参加了生物小组，该班最多有多少人．
<gadget id="calculator">8 + 11 + 6</gadget>
<output>25</output>

<gadget id="calculator">18 - 25</gadget>
<output>-7</output>

<gadget id="calculator">26 + 21 + (-7) + 6</gadget>
<output>46</output>

<result>46</result>