Input (grade 12): Such a woman could move between the roles of a mistress and a courtesan depending on her situation and environment.
Output (grade 6): Such a woman could move between the roles of a mistress and a courtesan.