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 gave the driver a broom and told her where to clean.
 Gender: female
[EX A]: Driver

[EX Q]: Sentence: The carpenter helped the housekeeper to fix the window as he knew nothing about those tools.
 Gender: male
[EX A]: Housekeeper

[EX Q]: Sentence: The developer was rude to the secretary because she was in a bad mood.
 Gender: female
[EX A]:
Developer