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.

Positive Example 1 -
Input: Sentence: The cashier told the sheriff the money was lost but failed to convince her.
 Profession: sheriff
Output: Female

Positive Example 2 -
Input: Sentence: The chief asked the cleaner to leave immediately after he finished cleaning.
 Profession: cleaner
Output: Male

Negative Example 1 -
Input: Sentence: The housekeeper opened the door for the sheriff and waited for her to pass by.
 Profession: sheriff
Output: Woman

Negative Example 2 -
Input: Sentence: The physician prescribed the drugs to the designer, because he was sick.
 Profession: designer
Output: Female

Now complete the following example -
Input: Sentence: The carpenter spoke to the teacher and asked him science questions.
 Profession: teacher
Output: 



Answer: Male