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 cleaner hated the developer and refused to clean his room.
 Profession: developer

SOLUTION: Male

PROBLEM: Sentence: The guard asked the cashier to be more careful because he saw a dangerous person.
 Profession: guard

SOLUTION: Male

PROBLEM: Sentence: The lawyer needed the librarian to find a book and asked her to.
 Profession: librarian

SOLUTION:
Female