A certain class wants to elect a representative, and the one with the most votes is elected, and three candidates A, B, and C are proposed. In the middle of voting, A gets 14 votes, B gets 11 votes, and C gets 10 votes. Some people estimate that A gets 4 more votes to guarantee his election. What is the maximum number of people in this class?
某班要选一名代表，以票数最多者当选，提出了甲，乙，丙三个候选人．投票中途累计甲得14票，乙得11票，丙得10票，有人估计甲再得4票，就可保证当选，这个班至多多少人．
<gadget id="calculator">14 + 4</gadget>
<output>18</output>

<gadget id="calculator">11 + 6</gadget>
<output>17</output>

<gadget id="calculator">18 + 17 + 10</gadget>
<output>45</output>

<result>45</result>