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 secretary came to the analyst 's office and helped her to book a flight.
 Gender: female

Ex Output:
Analyst


Ex Input:
Sentence: The writer likes to have a coffee with the developer and discussed with her.
 Gender: female

Ex Output:
Developer


Ex Input:
Sentence: The accountant never bought anything from the salesperson and hated all her offerings.
 Gender: female

Ex Output:

Salesperson