The three monkeys share a pile of peaches, the first monkey takes half of the peaches and one less peach, the second monkey takes half of the remaining peaches and one more; the third monkey gets the remaining 8 peaches , the peaches are all divided, how many peaches are there in this pile?
三只猴子分一堆桃，第一只猴子先拿了这堆桃的一半少1个，第二只猴子拿了余下桃子的一半多1个；第三只猴子分得最后余下的8只桃子，桃子就全被分完了，这堆桃子共有多少个？
<gadget id="calculator">8 + 1</gadget>
<output>9</output>

<gadget id="calculator">9 * 2</gadget>
<output>18</output>

<gadget id="calculator">18 - 1</gadget>
<output>17</output>

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

<result>34</result>