Two buckets A and B contain a total of 26 liters of water. First, half of the B bucket is poured into A bucket, and then half of A bucket is poured into B bucket. Then, 5 liters of water are taken from B bucket and poured into A bucket. Water overflows. At this time, the water in bucket A is 2 liters more than the water in bucket B, then how many liters of water is in bucket A initially?
甲乙两桶中共装有26升水，先将乙桶中的一半倒入甲桶，再将甲桶中一半倒入乙桶，然后，从乙桶中取5升水倒入甲桶，整个过程中无水溢出．这时，甲桶中的水比乙桶中的水多2升，则最初甲桶中有水多少升．
<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<gadget id="calculator">26 - 16</gadget>
<output>10</output>

<result>10</result>