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 writer helped the supervisor and then asked him to return the favor.
 Gender: male
answer:
Supervisor


question:
Sentence: The carpenter had to hire the assistant because she was a friend of a friend.
 Gender: female
answer:
Assistant


question:
Sentence: The cleaner never picks up the analyst 's papers and today asked him if that was acceptable.
 Gender: male
answer:

Analyst