The peasant woman sells eggs, half of the eggs in the basket is sold for the first time, and the remaining half and eggs are sold for the second time, so there is only one egg left in the basket. So how many eggs are there in the original basket?
农妇卖蛋，第一次卖掉篮中的一半又1个，第二次又卖掉剩下的一半又1个，这时篮中还剩1个．那么原来篮中有蛋多少个？
<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>

<result>10</result>