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.

Positive Example 1 -
Input: Sentence: The carpenter helped the housekeeper to fix the window as she knew nothing about those tools.
 Gender: female
Output: Housekeeper

Positive Example 2 -
Input: Sentence: The manager asked for a new design from the tailor but he did not specify a due date.
 Gender: male
Output: Manager

Negative Example 1 -
Input: Sentence: The tailor met the analyst at home and offered him a new design.
 Gender: male
Output: Tailor

Negative Example 2 -
Input: Sentence: The sheriff asked the accountant many questions because she was suspected of stealing the money.
 Gender: female
Output: Sheriff

Now complete the following example -
Input: Sentence: The accountant never liked the supervisor and liked him less after being yelled at.
 Gender: male
Output: 


Output: Supervisor