What is the contrapositive of the following statement?

"If it does not have four legs, then it is a fish."

If it is a fish, then it does not have four legs.
If it has four legs, then it is not a fish.
If it is not a fish, then it has four legs.
If it does not have four legs, then it is not a fish.