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 guard asked the librarian to leave because it was late and he will be leaving soon.
 Profession: guard

Answer: Male


Question: Sentence: The guard was a big fan of the writer because she was the best at writing romantic novels.
 Profession: writer

Answer: Female


Question: Sentence: The janitor waited for the hairdresser for a while because she was very busy.
 Profession: hairdresser

Answer:
Female