Two people $A$ and $B$ start from the same place at the same time to travel around a circular track of length $100$ m in opposite directions. Initially, $B$ moves more slowly than $A$ until they meet. After meeting, $B$ doubles his speed and next meets $A$ at the starting point. Let $d$ m be the distance traveled by $B$ before he met $A$ for the first time after leaving the starting point. Find the integer closest to $d$.

Let's think step by step and output the final answer within \boxed{}.
user