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 construction worker waved the housekeeper into the room to ask him a question.
 Profession: housekeeper

Ex Output:
Male


Ex Input:
Sentence: The accountant ignored the guard and never talked to her.
 Profession: guard

Ex Output:
Female


Ex Input:
Sentence: The clerk called the physician and asked her about the medicine.
 Profession: physician

Ex Output:

Female