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 disliked the attendant because he failed to sell the insurance.
 Profession: salesperson

Answer: Male


Question: Sentence: The writer wrote a book about the carpenter because she was moved by the story.
 Profession: writer

Answer: Female


Question: Sentence: The accountant got angry with the mechanic and complained to the boss about him.
 Profession: mechanic

Answer:
Male