TASK DEFINITION: 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.
PROBLEM: Sentence: The secretary went to a meeting with the construction worker and ask her a few questions.
 Gender: female

SOLUTION: Construction worker

PROBLEM: Sentence: The farmer demanded more bread from the baker because he raised the prices unfairly.
 Gender: male

SOLUTION: Baker

PROBLEM: Sentence: The housekeeper gave the driver a broom and told her where to clean.
 Gender: female

SOLUTION:
Driver