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 chief thanked the nurse because he was properly looked after in the hospital.
 Profession: chief

Ex Output:
Male


Ex Input:
Sentence: The secretary bought many products from the farmer and asked him for a discount.
 Profession: farmer

Ex Output:
Male


Ex Input:
Sentence: The laborer raced against the hairdresser because she is slow.
 Profession: hairdresser

Ex Output:

Female