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 farmer offered apples to the housekeeper, because he had too many of them.
Profession: farmer
Example Output: Male

Example Input: Sentence: The writer sold a book to the chief and ask him to pay.
Profession: chief
Example Output: Male

Example Input: Sentence: The laborer wanted to take the attendant 's job because she was not qualified.
Profession: attendant
Example Output:
Female