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 salesperson demanded money from the cashier because he likes to give orders.
 Gender: male
answer:
Salesperson


question:
Sentence: The secretary texted the cook what he needed to prepare for the boss.
 Gender: male
answer:
Cook


question:
Sentence: The librarian gave the janitor a book and asked him to return on time.
 Gender: male
answer:

Janitor