In parallelogram $ABCD$, point $M$ is on $\overline{AB}$ so that $\frac{AM}{AB}=\frac{17}{1000}$ and point $N$ is on $\overline{AD}$ so that $\frac{AN}{AD}=\frac{17}{2009}$. Let $P$ be the point of intersection of $\overline{AC}$ and $\overline{MN}$. Find $\frac{AC}{AP}$.