person travels from A to B for more than 4 kilometers for the first half of the journey; for the second time he travels the remaining half for more than 3 kilometers; for the third time he travels the remaining half for more than 2 kilometers. At this time, he is still 8 kilometers away from B. What is the distance between A and B in kilometers?
某人从甲地到乙地，第一次行了全程的一半多4千米；第二次行了余下的一半多3千米；第三次又行了余下的一半多2千米．这时他离乙地还有8千米．甲、乙两地相距多少千米．
<gadget id="calculator">8 + 2</gadget>
<output>10</output>

<gadget id="calculator">1 / 2</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">1 - (1/2)</gadget>
<output>1/2 = around 0.5</output>

<gadget id="calculator">10 / (1/2)</gadget>
<output>20</output>

<gadget id="calculator">20 + 3</gadget>
<output>23</output>

<gadget id="calculator">23 / (1/2)</gadget>
<output>46</output>

<gadget id="calculator">46 + 4</gadget>
<output>50</output>

<gadget id="calculator">50 / (1/2)</gadget>
<output>100</output>

<result>100</result>