Two persons A and B are located in X-Y plane at the points at the points (0,0) and (0,10) respectively. (The distance are measured in MKS units). At a time $t=0$, they start moving simultaneously with velocities $\bar {v}_A=2 \hat j m/s$ and $\bar v_B=2 \hat i m/s$ respectively. The time after which A and B are at their closest distance is :