There are 5 monkeys in the forest. They found a bunch of bananas. After the big monkey took half of the total, he took another banana and put it in his mouth. After the second monkey took the remaining half, he took another banana. Put it in his mouth,... After each monkey took the remaining half, he took another banana and put it in his mouth. When the fifth monkey wanted to take it, there was only one banana left on the ground. How many bananas did the monkey take in total?
森林里有5只猴子，它们发现了一堆香蕉，大猴子拿了总数的一半后，又拿了一根香蕉放在嘴里，二猴子拿了剩下的一半后，又拿了一根香蕉放在嘴里，…，每只猴子都拿了剩下的一半后，又拿了一根香蕉放在嘴里，到了第五只猴子想拿时，地上只剩下了一根香蕉，那么大猴子一共拿了多少根香蕉．
<gadget id="calculator">1 + 1</gadget>
<output>2</output>

<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<gadget id="calculator">4 + 1</gadget>
<output>5</output>

<gadget id="calculator">5 * 2</gadget>
<output>10</output>

<gadget id="calculator">10 + 1</gadget>
<output>11</output>

<gadget id="calculator">11 * 2</gadget>
<output>22</output>

<gadget id="calculator">22 + 2</gadget>
<output>24</output>

<result>24</result>