There are some small balls in the box. Naughty takes out (1/2) of them each time and puts one back. This is done 5 times in total. There are still 3 balls in the box. How many balls are there in the box? (can be narrated or listed)
盒子里有一些小球，淘气每次拿出其中的(1/2)再放回一个，一共这样做了5次，盒里还有3个球，原来盒子里有多少个球？(可以叙述也可以列式解答)
<gadget id="calculator">3 - 1</gadget>
<output>2</output>

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

<gadget id="calculator">4 - 1</gadget>
<output>3</output>

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

<gadget id="calculator">6 - 1</gadget>
<output>5</output>

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

<gadget id="calculator">10 - 1</gadget>
<output>9</output>

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

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

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

<result>34</result>