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 cashier saw the farmer and asked her to provide a signature.
 Gender: female

A: Farmer
****
Q: Sentence: The tailor thought the janitor could be good a sewing and encouraged her.
 Gender: female

A: Janitor
****
Q: Sentence: The tailor saw the mechanic and explained her the price.
 Gender: female

A:
Mechanic
****