Input (grade 13): The man who is not currently a fornicator can only marry a woman who is not currently a fornicatress or a chaste woman from the people of the Book.
Output (grade 12): The Muslim fornicator can only marry a Muslim fornicatress. The Muslim woman who is not currently a fornicatress can only marry a Muslim man who is not currently a fornicator.