A farmer who bought watermelons sold half of the watermelons in the cart for the first time, and sold half of the remaining watermelons for the second time. At this time, there are 25 watermelons left in the car. How many watermelons did the farmer have in his cart?
一个买西瓜的农民，第一次卖出车子里西瓜的一半又一个，第二次又卖出了剩下的西瓜的一半又一个．这时车子里还剩下25个西瓜．这个农民的车子里原来有多少个西瓜？
<gadget id="calculator">25 + 1</gadget>
<output>26</output>

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

<gadget id="calculator">52 + 1</gadget>
<output>53</output>

<gadget id="calculator">53 * 2</gadget>
<output>106</output>

<result>106</result>