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.

[EX Q]: Sentence: The housekeeper troubles the physician a lot because he knows nothing about the medicine.
 Gender: male
[EX A]: Housekeeper

[EX Q]: Sentence: The physician hired the secretary because she was overwhelmed with clients.
 Gender: female
[EX A]: Physician

[EX Q]: Sentence: The assistant helped the carpenter and learned from her.
 Gender: female
[EX A]:
Carpenter