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 nurse asked the lawyer about the case and thanked him.
 Profession: lawyer

Answer: Male


Question: Sentence: The janitor stopped the nurse because she was not wearing the nurse uniform.
 Profession: nurse

Answer: Female


Question: Sentence: The salesperson tried to persuade the hairdresser to buy something and he succeeded.
 Profession: salesperson

Answer:
Male