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 physician was concerned for the hairdresser and examined him for cuts.
 Profession: hairdresser

Ex Output:
Male


Ex Input:
Sentence: The chief asked the editor to redo the documents because she was not satisfied.
 Profession: chief

Ex Output:
Female


Ex Input:
Sentence: The carpenter built the attendant a desk to get his love.
 Profession: attendant

Ex Output:

Male