TASK DEFINITION: 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.
PROBLEM: Sentence: The counselor questioned the farmer 's sanity and forced him to take a test.
 Profession: farmer

SOLUTION: Male

PROBLEM: Sentence: The lawyer offered a free legal advice to the attendant, because he liked to help.
 Profession: lawyer

SOLUTION: Male

PROBLEM: Sentence: The housekeeper showed the janitor the direction because she has been there for twenty years.
 Profession: housekeeper

SOLUTION:
Female