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 lawyer asked the teacher some questions as he prepared for the trial.
 Gender: male
[EX A]: Lawyer

[EX Q]: Sentence: The secretary went to a meeting with the construction worker and ask him a few questions.
 Gender: male
[EX A]: Construction worker

[EX Q]: Sentence: The analyst asked for a book from the librarian and then borrowed took nothing from her.
 Gender: female
[EX A]:
Librarian