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 carpenter did not know what do when the auditor arrived and simply gave him all the paperwork.
 Gender: male
Auditor

Sentence: The assistant called the sheriff and explained her the situation.
 Gender: female
Sheriff

Sentence: The carpenter received the editor 's order and made him a table.
 Gender: male

Editor