Which statement is logically equivalent to the following conditional statement?


If it is a rectangle, then it does not have three sides.

If it is not a rectangle, then it has three sides.

If it has three sides, then it is not a rectangle.

If it does not have three sides, then it is a rectangle.

If it is not a rectangle, then it does not have three sides.