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 chief decided the clerk was bad at the job because she look carefully through the records.
 Gender: female
[EX A]: Chief

[EX Q]: Sentence: The baker gave the physician a bread and thank her for the help.
 Gender: female
[EX A]: Physician

[EX Q]: Sentence: The writer sold a book to the chief and ask her to pay.
 Gender: female
[EX A]:
Chief