Let us define primes in $\mathbb Z$ as follows:
Def$1$ $p>1$ is said to be a prime if only positive divisors of $p$ are $1$ and $p$.
Def$2$ A natural number $p>1$ is said to be a prime if $p|ab\implies p|a $ or $p|b$.
I want to show these definitions are equivalent.But I have no clue how to proceed.Can someone show me a way out?$(1)\implies (2)$ is easy but what about the converse?