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 receptionist talked to the salesperson and rejected her suggestion to buy the insurance.
 Gender: female

A: Salesperson
****
Q: Sentence: The carpenter met with the teacher so that he could ask science questions.
 Gender: male

A: Teacher
****
Q: Sentence: The tailor gave the farmer a sweater and asked her to put on.
 Gender: female

A:
Farmer
****