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 gave the clerk a present because he won the lottery.
 Gender: male
answer:
Mechanic


question:
Sentence: The carpenter owed the counselor some money and she never asked for any interest.
 Gender: female
answer:
Counselor


question:
Sentence: The cook asked the attendant to try the cake because she had excellent taste.
 Gender: female
answer:

Attendant