There are several balls in the bag, and half of them are taken out each time, and another ball is taken out. This operation is performed 4 times in total, and there are still 5 balls in the bag. How many balls are in the bag.
袋子里有若干个球，每次拿出其中的一半又一个球，这样共操作了4次，袋中还有5个球．袋中原有多少个球．
<gadget id="calculator">5 + 1</gadget>
<output>6</output>

<gadget id="calculator">6 * 2</gadget>
<output>12</output>

<gadget id="calculator">12 + 1</gadget>
<output>13</output>

<gadget id="calculator">13 * 2</gadget>
<output>26</output>

<gadget id="calculator">26 + 1</gadget>
<output>27</output>

<gadget id="calculator">27 * 2</gadget>
<output>54</output>

<gadget id="calculator">54 + 1</gadget>
<output>55</output>

<gadget id="calculator">55 * 2</gadget>
<output>110</output>

<result>110</result>