instruction:
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.
question:
Sentence: The farmer knows the editor because he is really famous.
 Gender: male
answer:
Editor


question:
Sentence: The librarian reminded the mover how important the books were and he needed to make sure none were left.
 Gender: male
answer:
Librarian


question:
Sentence: The cook prepared a soup for the housekeeper because she was testing a new dish.
 Gender: female
answer:

Cook