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 supervisor met up with the teacher and told her the concerns.
 Gender: female

SOLUTION: Teacher

PROBLEM: Sentence: The laborer eats more than the cleaner because he works harder.
 Gender: male

SOLUTION: Laborer

PROBLEM: Sentence: The lawyer helped the cleaner win the case without pay because he is a very generous man.
 Gender: male

SOLUTION:
Lawyer