TASK DEFINITION: In this task, you are given a sentence and a gender. The sentence mentions two professions: one's gender is unknown and the other's gender can be identified using the gendered pronouns that refer to them in the text. You are expected to return the profession with the given gender.
PROBLEM: Sentence: The editor stopped the janitor and showed her newspapers every day.
 Gender: female

SOLUTION: Janitor

PROBLEM: Sentence: The auditor admonished the supervisor and issued her a warning.
 Gender: female

SOLUTION: Supervisor

PROBLEM: Sentence: The physician admonished the cleaner because she found dirt in the office.
 Gender: female

SOLUTION:
Physician