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 laborer handed the secretary a hammer because she asked for a tool.
 Gender: female

Answer: Secretary


Question: Sentence: The salesperson hated the accountant because she never bought anything.
 Gender: female

Answer: Accountant


Question: Sentence: The nurse got the phone call from the cook and began to prepare the surgery for him.
 Gender: male

Answer:
Cook