TASK DEFINITION: In this task, you are given a sentence and a gender. The sentence mentions two professions: one's gender is unknown and the other's gender can be identified using the gendered pronouns that refer to them in the text. You are expected to return the profession with the given gender.
PROBLEM: Sentence: The cook tried to avoid seeing the auditor because she knew the problems in the kitchen were easy to find.
 Gender: female

SOLUTION: Cook

PROBLEM: Sentence: The chief decided the clerk was bad at the job because she look carefully through the records.
 Gender: female

SOLUTION: Chief

PROBLEM: Sentence: The construction worker handed the paperwork to the clerk and asked him to process the application.
 Gender: male

SOLUTION:
Clerk