Xiaohong, Xiaofang, and Xiaoming share pencils. Xiaohong gets 1 more than half of the total, Xiaofang gets 1 more than the remaining half, and Xiaoming gets 7. How many pencils do you have? ．
小红、小芳、小明三人分铅笔，小红分得的比总数的一半多1支，小芳分得的比剩下的一半多1支，小明分得7支，原来有铅笔多少支．
<gadget id="calculator">7 + 1</gadget>
<output>8</output>

<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<gadget id="calculator">16 + 1</gadget>
<output>17</output>

<gadget id="calculator">17 * 2</gadget>
<output>34</output>

<result>34</result>