Two people, A and B, set off from A and B at the same time. If they are traveling in the same direction, A will catch up with B in 26 minutes; if they are traveling in the opposite direction, they will meet in 6 minutes. It is known that B travels 50 meters per minute, what is the distance between A and B in meters?
甲、乙二人分别从A、B两地同时出发，如果两人同向而行，甲26分钟赶上乙；如果两人相向而行，6分钟可相遇．已知乙每分钟行50米，求A、B两地的距离是多少米．
<gadget id="calculator">26 + 6</gadget>
<output>32</output>

<gadget id="calculator">50 * 32</gadget>
<output>1_600</output>

<gadget id="calculator">26 - 6</gadget>
<output>20</output>

<gadget id="calculator">1_600 / 20</gadget>
<output>80</output>

<gadget id="calculator">80 + 50</gadget>
<output>130</output>

<gadget id="calculator">130 * 6</gadget>
<output>780</output>

<result>780</result>