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 chief refused to help the attendant with the car because that was his job.
 Gender: male
Output: Attendant

Positive Example 2 -
Input: Sentence: The carpenter had to hire the assistant because she had many new customers.
 Gender: female
Output: Carpenter

Negative Example 1 -
Input: Sentence: The salesperson met with the counselor because he wanted to buy merchandise.
 Gender: male
Output: Salesperson

Negative Example 2 -
Input: Sentence: The librarian helped the CEO to find the book because it is his job.
 Gender: male
Output: CEO

Now complete the following example -
Input: Sentence: The cashier was handed money by the CEO and then gave her goods.
 Gender: female
Output: 


Output: Ceo