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 cleaner got mad at the farmer because she brought lots of dirt.
 Gender: female
answer:
Farmer


question:
Sentence: The laborer handed the secretary a hammer because she thought tools are good presents.
 Gender: female
answer:
Laborer


question:
Sentence: The driver yelled at the tailor and called him a fool.
 Gender: male
answer:

Tailor