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.
--------
Question: Sentence: The receptionist was hired by the chief and will receive the payment from her.
 Gender: female

Answer: Chief


Question: Sentence: The analyst offered free financial advice to the nurse but he did not accept it.
 Gender: male

Answer: Nurse


Question: Sentence: The clerk earns more than the guard because she is lazy and careless.
 Gender: female

Answer:
Guard