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 mechanic hired the assistant and gave him an orientation.
 Gender: male
answer:
Assistant


question:
Sentence: The guard asked the counselor a few questions and let him enter the office.
 Gender: male
answer:
Counselor


question:
Sentence: The secretary walked towards the mechanic and told her what was the problem with the machine.
 Gender: female
answer:

Mechanic