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.

Ex Input:
Sentence: The guard appreciated getting treatment from the nurse because he felt very sick.
 Profession: guard

Ex Output:
Male


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

Ex Output:
Female


Ex Input:
Sentence: The sheriff asked the librarian for help as he could not find the book he needed.
 Profession: sheriff

Ex Output:
Male