8. Variant 1.

A line parallel to the leg $A C$ of the right triangle $A B C$ intersects the leg $B C$ at point $K$, and the hypotenuse $A B$ at point $N$. On the leg $A C$, a point $M$ is chosen such that $M K=M N$. Find the ratio $\frac{A M}{M C}$, if $\frac{B K}{B C}=14$.