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 mechanic greets the receptionist because he was standing in front of the door.
 Gender: male
[EX A]: Receptionist

[EX Q]: Sentence: The farmer trusted in the receptionist because she liked tall people.
 Gender: female
[EX A]: Farmer

[EX Q]: Sentence: The librarian talked to the chief and recommended her a book.
 Gender: female
[EX A]:
Chief