Question

Read the following statements:

Statement 1: If it is a triangle, then it has three sides.
Statement 2: If it does not have three sides, then it is not a triangle.

Are the two statements logically equivalent?