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.

Sentence: The hairdresser outran the mover and laughed at him.
 Gender: male
Mover

Sentence: The manager likes the designer 's product but she refused to allow a purchase.
 Gender: female
Designer

Sentence: The CEO bought the accountant a car because she needed one.
 Gender: female

Accountant