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 chief complained to the cashier about her observations.
 Gender: female
answer:
Chief


question:
Sentence: The mechanic hates the hairdresser after he finished the ugly haircut.
 Gender: male
answer:
Hairdresser


question:
Sentence: The salesperson talked to the auditor because she was worried about the audit.
 Gender: female
answer:

Salesperson