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 does not like the baker because he needs to help clean the messy machine every day.
 Profession: janitor

Ex Output:
Male


Ex Input:
Sentence: The sheriff asked the secretary to close the window because he was cold.
 Profession: sheriff

Ex Output:
Male


Ex Input:
Sentence: The sheriff told the counselor that she was under investigation.
 Profession: counselor

Ex Output:

Female