There are two baskets of apples, A and B, of which the weight of the B basket is 26 kg. Now take some apples from basket A and put them into basket B, so that the weight of apples in basket B is twice that of basket A. At this time, there are still 18 kg in basket A. How many kilograms of apples are there in basket A?
有甲、乙两筐苹果，其中乙筐重26千克．现在从甲筐取出一些放入乙筐，使乙筐苹果是甲筐的2倍重，这时甲筐还剩下18千克．原来甲筐里有多少千克苹果？
<gadget id="calculator">18 * 2</gadget>
<output>36</output>

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

<gadget id="calculator">10 + 18</gadget>
<output>28</output>

<result>28</result>