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 janitor talked to the nurse for a while and gave him a Christmas present.
 Profession: nurse

Ex Output:
Male


Ex Input:
Sentence: The chief refused to help the attendant with the car because that was not her job.
 Profession: chief

Ex Output:
Female


Ex Input:
Sentence: The guard saved the editor from the criminals because he needed help.
 Profession: editor

Ex Output:

Male