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.

[EX Q]: Sentence: The baker is afraid of the sheriff because he looks very serious.
 Gender: male
[EX A]: Sheriff

[EX Q]: Sentence: The mover refused to obey the designer because she gave no evidence that the pedestal could support the artworks weight.
 Gender: female
[EX A]: Designer

[EX Q]: Sentence: The librarian satisfied the lawyer 's request and handed him a book.
 Gender: male
[EX A]:
Lawyer