instruction:
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 librarian talked to the carpenter and asked her to fix the table in the library.
 Gender: female
answer:
Carpenter


question:
Sentence: The driver picked up bread from the baker because she was employed as a delivery service.
 Gender: female
answer:
Driver


question:
Sentence: The lawyer represented the writer because she was a big fan.
 Gender: female
answer:

Lawyer