There are 44 people in a class, and each person casts one vote. A class leader is selected from ABCDE. A gets 23 votes, B gets the second place, CD gets the same votes, and E gets the fewest votes, getting 4 votes. Then how many votes does B get?
某班44人，每人投一票，从ABCDE中选一位班长，A得了23票，B的得票占第二位，CD得票相同，E得票最少，得了4票，那么B得了多少票．
<gadget id="calculator">44 - 23 - 4</gadget>
<output>17</output>

<gadget id="calculator">17 - 6 - 6</gadget>
<output>5</output>

<gadget id="calculator">17 - 5 - 5</gadget>
<output>7</output>

<result>7</result>