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.

Q: Sentence: The teacher performed well for the manager and asked him for a raise.
 Profession: manager

A: Male
****
Q: Sentence: The nurse asked the lawyer about the case and thanked him.
 Profession: lawyer

A: Male
****
Q: Sentence: The sheriff protected the writer and gave her a gun.
 Profession: writer

A:
Female
****