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 receptionist reminded the cook to wear suits because he always forgets.
 Gender: male
Cook

Sentence: The supervisor gave the housekeeper a ride because he has a car.
 Gender: male
Supervisor

Sentence: The analyst was tired of getting bad reports from the receptionist and told her to leave.
 Gender: female

Receptionist