What is the contrapositive of the following statement?

"If there is rain, then the dog will not bark."

If the dog will bark, then there is no rain.
If there is no rain, then the dog will not bark.
If the dog will not bark, then there is rain.
If there is no rain, then the dog will bark.

If the dog will not bark, then there is no rain.