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 janitor handed the writer a book for his future reference.
 Gender: male
answer:
Writer


question:
Sentence: The driver picked up bread from the baker because she was employed as a delivery service.
 Gender: female
answer:
Driver


question:
Sentence: The sheriff asked the accountant many questions because she is a suspicious man.
 Gender: female
answer:

Sheriff