On a circular runway, A and B are running counterclockwise at two points AB as shown in the figure, with a distance of 100 meters. A is 5 meters per second, and B is 4 meters per second. They have to stop and rest for 10 seconds every time they run 100 meters. How long does it take for A to catch up with B?
在一个环形跑道上，甲乙两人在如图所示的AB两点上，他们相距100米，按逆时针方向奔跑．甲每秒5米，乙每秒4米，他们每跑100米都要停下歇10秒钟，甲多长时间追上乙？
<gadget id="calculator">35 - 30</gadget>
<output>5</output>

<gadget id="calculator">20 / 5</gadget>
<output>4</output>

<gadget id="calculator">4 * 35</gadget>
<output>140</output>

<result>140</result>