There are three piles of stones A, B, and C. After taking 8 stones from pile A and giving them to pile B, the number of stones in piles A and B will be equal; at this time, take 6 stones from pile B and give them to pile C. The number of stones in the two piles of C is equal; then take 2 stones from pile C and give them to pile A, so that pile A is exactly twice the number of piles C. Question: How many stones are there in pile A?
有甲、乙、丙三堆石子，从甲堆中取8个给乙堆后，甲、乙两堆石子个数就相等了；此时再从乙堆中取6个给丙堆，乙、丙两堆石子个数就相等了；接着再从丙堆中取2个给甲堆，这样甲堆石子正好是丙堆的2倍．问：原来甲堆有多少个石子？
<gadget id="calculator">8 + 2</gadget>
<output>10</output>

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

<result>26</result>