Given the statement......If A, then B.
The converse is..........If B, then A.
The inverse is...........If not A, then not B.
The contrapositive is....If not B, then not A.

Goldenrod is, of course, right. I was jumping ahead of myself when I spoke of the logical contrapositive. I give you full credit for your answer, wofa.