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.

Q: Sentence: The assistant laughed at the janitor because she told a funny joke.
 Gender: female

A: Janitor
****
Q: Sentence: The guard protected the teacher because he was cowardly.
 Gender: male

A: Teacher
****
Q: Sentence: The farmer explained the business to the clerk and told him about some common troubles.
 Gender: male

A:
Clerk
****