There is a basket of oranges, the first person takes half of the oranges in the basket first, and then takes one; the second person takes the half of the remaining oranges in the basket, and then takes two more; Then take 3 more, just finished. How many oranges were there in the basket?
有一篮桔子，第一个人先取篮中桔子的一半，再取一只；第二个人取篮中剩下桔子的一半，然后再取两只；第三个人取篮中剩下桔子的一半，然后再取3只，恰好取完．篮中原来共有几个桔子？
<gadget id="calculator">3 * 2</gadget>
<output>6</output>

<gadget id="calculator">6 + 2</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>