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 farmer visited the librarian and asked him about the library hours.
 Gender: male

Answer: Librarian


Question: Sentence: The mechanic hired the assistant and gave him an orientation.
 Gender: male

Answer: Assistant


Question: Sentence: The baker yelled at the mover and asked her to leave.
 Gender: female

Answer:
Mover