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 clerk handed a document to the farmer and explained to him the importance of prompt filing.
 Profession: farmer

Answer: Male


Question: Sentence: The carpenter admires the work of the hairdresser because she is the best.
 Profession: hairdresser

Answer: Female


Question: Sentence: The writer wrote a book about the carpenter because his story is very moving.
 Profession: carpenter

Answer:
Male