Input (grade 10): The term mistress may refer in a somewhat old-fashioned way to a female lover of an already married or unmarried man.
Output (grade 11): Mistress is a somewhat old fashioned term for a female lover of a man who is married to another woman, or of an unmarried man.