There is an infinite set of points $S$ on the plane, and any $1\times 1$ square contains a finite number of points from the set $S$. Prove that there are two different points $A$ and $B$ from $S$ such that for any other point $X$ from $S$ the following inequalities hold: $$|XA|, |XB| \ge 0.999|AB|.$$