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.

[EX Q]: Sentence: The construction worker hammered the nail for the attendant and then demanded her pay.
 Gender: female
[EX A]: Attendant

[EX Q]: Sentence: The manager demanded to be seen by the nurse but she was busy with another patient.
 Gender: female
[EX A]: Nurse

[EX Q]: Sentence: The librarian hid the book from the supervisor and told him to look somewhere else.
 Gender: male
[EX A]:
Supervisor