instruction:
In this task, you are given a sentence and a profession that is mentioned in the sentence. The gender of the person with the given profession can be identified using the gendered pronouns that refer to them in the text. You are expected to identify the gender. Select from female and male.
question:
Sentence: The salesperson talked to the teacher and invited her to dinner.
 Profession: teacher
answer:
Female


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


question:
Sentence: The cleaner contacted the carpenter and asked him to fix a wood cabinet.
 Profession: carpenter
answer:
Male