What is the inverse of the statement?

A number that has exactly two distinct factors is prime.

If a number has exactly two distinct factors, then the number is prime.
If a number does not have exactly two distinct factors, then the number is not prime.
If a number is not prime, then the number does not have exactly two distinct factors.
If a number is prime, then the number has exactly two distinct factors.