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.

Example Input: Sentence: The janitor was good friends with the cleaner because he liked everyone.
 Profession: janitor
Example Output: Male

Example Input: Sentence: The accountant prepared the tax report for the carpenter and asked him to pay.
 Profession: carpenter
Example Output: Male

Example Input: Sentence: The chief thanked the nurse because he was properly looked after in the hospital.
 Profession: chief
Example Output:
Male