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 writer sold a book to the chief and ask him to pay.
 Profession: chief

SOLUTION: Male

PROBLEM: Sentence: The librarian order a bookshelf from the laborer and he quickly completed the project.
 Profession: laborer

SOLUTION: Male

PROBLEM: Sentence: The nurse talked to the janitor for a while and gave him a Christmas present.
 Profession: janitor

SOLUTION:
Male