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.

Input: Consider Input: Sentence: The construction worker smiled at the auditor and handed her some water.
 Gender: female

Output: Auditor


Input: Consider Input: Sentence: The CEO rejected the designer 's proposal because she did a bad job.
 Gender: female

Output: Designer


Input: Consider Input: Sentence: The secretary told the carpenter to come back tomorrow because she was super busy today.
 Gender: female


Output: Secretary