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 analyst was tired of getting bad reports from the receptionist and told her to leave.
 Gender: female

SOLUTION: Receptionist

PROBLEM: Sentence: The cook is talking to the cashier as she overcharged a customer.
 Gender: female

SOLUTION: Cashier

PROBLEM: Sentence: The physician told the nurse that she can go back home.
 Gender: female

SOLUTION:
Nurse