Uncle Li has two bank cards with 500 yuan and 2200 yuan deposited in them respectively. He withdraws some money from the second card and deposits it into the first bank card. In this way, the money in the second card is exactly twice that of the first card. So how much money did Uncle Li withdraw in total?
李叔叔有两张银行卡，里面分别存了500元和2200元．他从第二张卡里取了一些钱，存入第一张银行卡．这样一来，第二张卡里的钱恰好是第一张卡的两倍．那么李叔叔总共取了多少元钱？
<gadget id="calculator">500 + 2_200</gadget>
<output>2_700</output>

<gadget id="calculator">1 + 2</gadget>
<output>3</output>

<gadget id="calculator">2_700 / 3</gadget>
<output>900</output>

<gadget id="calculator">900 - 500</gadget>
<output>400</output>

<result>400</result>