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 accountant got angry with the mechanic and complained to the boss about him.
 Profession: mechanic

Ex Output:
Male


Ex Input:
Sentence: The construction worker scheduled an appointment with the counselor because he was stressful.
 Profession: construction worker

Ex Output:
Male


Ex Input:
Sentence: The construction worker needed to talk to the housekeeper and waved her in.
 Profession: housekeeper

Ex Output:

Female