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


question:
Sentence: The manager agreed to raise the assistant 's salary because she is generous.
 Gender: female
answer:
Manager


question:
Sentence: The sheriff relies on the attendant because he is trustworthy.
 Gender: male
answer:

Attendant