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.

[EX Q]: Sentence: The cook tried to avoid seeing the auditor because she knew the problems in the kitchen were easy to find.
 Gender: female
[EX A]: Cook

[EX Q]: Sentence: The carpenter talked to the librarian and asked him to recommend some books to read.
 Gender: male
[EX A]: Librarian

[EX Q]: Sentence: The hairdresser was clumsy around the physician and nearly cut her.
 Gender: female
[EX A]:
Physician