A grasshopper jumps either $364$ or $715$ units on the real number line. If it starts from the point $0$, find the smallest distance that the grasshopper can be away from the point $2010$.

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