Of the eggs in the refrigerator, half of them were taken away on the first day and 3 were left, the remaining half was taken away on the second day and 2 more, and after the remaining half was taken away on the third day, there were only 2 eggs left. How many eggs are there in the refrigerator?
冰箱里的鸡蛋，第一天拿走了一半少3个，第二天拿走了余下的一半多2个，第三天拿走余下的一半后，最后还剩2个．冰箱里原来有鸡蛋多少个？
<gadget id="calculator">2 * 2</gadget>
<output>4</output>

<gadget id="calculator">4 + 2</gadget>
<output>6</output>

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

<gadget id="calculator">12 - 3</gadget>
<output>9</output>

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

<result>18</result>