A and B start from two places A and B at the same time and walk towards each other. They meet for the first time at a distance of 1000 meters from A. After meeting, they continue to move forward. When they reach the destination, they return immediately and meet at a distance of 1400 meters from A. What is the distance between A and B? rice?
甲乙两人同时从AB两地出发相向而行，第一次在离A地1000米处相遇，相遇后继续前进，达到目的地立即返回，在离A地1400米处相遇，AB两地相距多少米？
<gadget id="calculator">1_000 + 1_400</gadget>
<output>2_400</output>

<gadget id="calculator">2_400 / 2</gadget>
<output>1_200</output>

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

<result>2_200</result>