Find the smallest positive integer $n$ such that for every integer $m$, with $0<m<1993$, there exists an integer $k$ for which
$$
\frac{m}{1993}<\frac{k}{n}<\frac{m+1}{1994}
$$

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