2009 AIME I Problem 4

In parallelogram A B C D, point M is on \overline{A B} so that \frac{A M}{A B}=\frac{17}{1000}, and point N is on \overline{A D} so that \frac{A N}{A D}=\frac{17}{2009}. Let P be the point of intersection of \overline{A C} and \overline{M N}. Find \frac{A C}{A P}.