For a bucket of water, pour out half of it for the first time, then add 40 kg of water to the bucket, pour out half of the water in the bucket for the second time, and pour out 180 kg for the third time, leaving 60 kg of water in the bucket. How many kilograms of water is in the bucket?
一桶水，第一次倒出一半，然后再往桶中加入40千克水，第二次再倒出桶中水的一半，第三次倒出180千克，桶中还剩下60千克水．原来桶中有水多少千克？
<gadget id="calculator">180 + 60</gadget>
<output>240</output>

<gadget id="calculator">240 * 2</gadget>
<output>480</output>

<gadget id="calculator">480 - 40</gadget>
<output>440</output>

<gadget id="calculator">440 * 2</gadget>
<output>880</output>

<result>880</result>