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 Input:
Sentence: The mover followed the writer 's instruction and waited outside her apartment.
 Gender: female

Ex Output:
Writer


Ex Input:
Sentence: The supervisor yelled at the cashier because he liked to pick on his employees.
 Gender: male

Ex Output:
Supervisor


Ex Input:
Sentence: The attendant recognized the developer because she reads a lot of technical news.
 Gender: female

Ex Output:

Attendant