Part 1. 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.
Part 2. Example
Sentence: The cashier told the sheriff the money was lost but failed to convince her.
 Profession: sheriff
Answer: Female
Explanation: The sheriff is a female because the pronoun "her" is linked to the sheriff.
Part 3. Exercise
Sentence: The hairdresser walked towards the sheriff and thanked her for catching the thief.
 Profession: sheriff
Answer:
Female