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 salesperson talked to the hairdresser and tried to sell something to her.
 Profession: hairdresser

Ex Output:
Female


Ex Input:
Sentence: The nurse examined the carpenter and sent him to the hospital.
 Profession: carpenter

Ex Output:

Male