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 auditor was not lenient with the CEO and admonished him harshly.
 Gender: male

SOLUTION: Ceo

PROBLEM: Sentence: The guard appreciated getting treatment from the nurse because he felt very sick.
 Gender: male

SOLUTION: Guard

PROBLEM: Sentence: The CEO could not understand the attendant, because she spoke too fast.
 Gender: female

SOLUTION:
Attendant