TASK 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.
PROBLEM: Sentence: The cook prepared dinner for the counselor and she was praised for that.
 Gender: female

SOLUTION: Cook

PROBLEM: Sentence: The manager discussed with the designer for a long time and tried to convince him to sell this idea.
 Gender: male

SOLUTION: Designer

PROBLEM: Sentence: The mechanic followed carefully the model proposed by the designer because he is an important customer.
 Gender: male

SOLUTION:
Designer