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 supervisor called the counselor because she is an expert on the law.
 Gender: female
answer:
Counselor


question:
Sentence: The attendant brought some cookies to the manager and told him to choose one.
 Gender: male
answer:
Manager


question:
Sentence: The mechanic fixed the housekeeper 's car and then he issued a receipt.
 Gender: male
answer:

Mechanic