Let $A$ be a local ring and $L$ and $F$ be free $A$-modules of finite rank. Consider bases $e_1,\dots,e_m$ and $f_1,\dots,f_n$ of $L$ and $F$. To a homomorphism $u:L\rightarrow F$ associate the matrix $M=(a_{ij})$, with $u(e_j)=\sum_{i=1}^n a_{ij}f_i$.
Show that if $u$ is surjective, then $M$ has an invertible $n$-minor.
I don't know how to get the invertible $n$-minor. Because $A$ is a local ring, let $\mathfrak m$ be the maximal ideal. Then $F/\mathfrak mF$ is a vector space, and $\overline{u}:L\rightarrow F/\mathfrak mF$ is surjective. But I don't know what to do next.