A and B are walking toward each other from two places at the same time. A travels 22 kilometers per hour, and B travels 24 kilometers per hour. They meet at a distance of 8 meters from the midpoint. How many kilometers is the whole journey?
甲、乙两人同时从两地相向而行，甲每小时行22千米，乙每小时行24千米，两人刚好在距中点8米处相遇，问全程多少千米？
<gadget id="calculator">22 + 24</gadget>
<output>46</output>

<gadget id="calculator">8 * 2</gadget>
<output>16</output>

<gadget id="calculator">24 - 22</gadget>
<output>2</output>

<gadget id="calculator">16 / 2</gadget>
<output>8</output>

<gadget id="calculator">46 * 8</gadget>
<output>368</output>

<result>368</result>