Both passenger and freight vehicles depart from point A at the same time and go to point C via point B. When the bus arrives at B, the truck is still 18 kilometers away from B; when the truck arrives at B, the bus is 22 kilometers away from B. How many kilometers are there between A and B?
客、货两车同时从A地出发，经B地去C地．当客车到达B地时，货车离B地还有18千米；当货车到达B地时，客车已超过B地22千米，A、B两地相距多少千米？
<gadget id="calculator">22 * 18</gadget>
<output>396</output>

<gadget id="calculator">22 - 1 - 18</gadget>
<output>3</output>

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

<gadget id="calculator">396 / 4</gadget>
<output>99</output>

<result>99</result>