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 manager talked to the tailor and then asked him to create a new design.
 Gender: male

Answer: Tailor


Question: Sentence: The accountant ignored the guard and never talked to her.
 Gender: female

Answer: Guard


Question: Sentence: The receptionist welcomed the lawyer because this is part of his job.
 Gender: male

Answer:
Receptionist