You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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.

Sentence: The cashier told the sheriff the money was lost but failed to convince her.
 Profession: sheriff
Solution: Female
Why? The sheriff is a female because the pronoun "her" is linked to the sheriff.

New input: Sentence: The supervisor stopped the cleaner and told him not to clean that room.
 Profession: cleaner
Solution:
Male
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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.

Sentence: The cashier told the sheriff the money was lost but failed to convince her.
 Profession: sheriff
Solution: Female
Why? The sheriff is a female because the pronoun "her" is linked to the sheriff.

New input: Sentence: The supervisor stopped the cleaner and told him not to clean that room.
 Profession: cleaner
Solution:
user
Male
assistant
You will be given a definition of a task first, then an example. Follow the example to solve a new instance of the task.
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.

Sentence: The cashier told the sheriff the money was lost but failed to convince her.
 Profession: sheriff
Solution: Female
Why? The sheriff is a female because the pronoun "her" is linked to the sheriff.

New input: Sentence: The supervisor stopped the cleaner and told him not to clean that room.
 Profession: cleaner
Solution:
Male