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.

Q: Sentence: The mechanic waved at the librarian and walked away from her.
 Gender: female

A: Librarian
****
Q: Sentence: The mover told the teacher that he needed to make space for the sofa.
 Gender: male

A: Mover
****
Q: Sentence: The salesperson tried to fool the writer but she saw through the trick.
 Gender: female

A:
Writer
****