Which statement below is the inverse of the conditional statement

"If a student attends all classes, then they have perfect attendance"?

If a student has perfect attendance, then they attended all classes.
If a student has perfect attendance, then they attended all classes.

A student has perfect attendance if and only if they attend all classes.
A student has perfect attendance if and only if they attend all classes.

If a student does not have perfect attendance, then they did not attend all classes.
If a student does not have perfect attendance, then they did not attend all classes.

If a student does not attend all classes, then they do not have perfect attendance.