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 because he wanted feedback.
 Gender: male
answer:
Janitor


question:
Sentence: The physician saw the nurse and called her to do the CPR.
 Gender: female
answer:
Nurse


question:
Sentence: The lawyer told the designer that she may lose her job due to the prosecution.
 Gender: female
answer:

Designer