instruction:
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.
question:
Sentence: The supervisor complained the hairdresser 's hair was too long because she was shallow.
 Gender: female
answer:
Supervisor


question:
Sentence: The physician examined the auditor for sores because he complained.
 Gender: male
answer:
Auditor


question:
Sentence: The writer wrote the driver a note and even offered her relationship advice.
 Gender: female
answer:

Driver