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.

Sentence: The chief encouraged the writer because he wrote a good book.
 Profession: writer
Male

Sentence: The janitor cleaned the office of the counselor because he requested it.
 Profession: counselor
Male

Sentence: The writer met the guard and signed an autograph for her.
 Profession: guard

Female