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.

Sentence: The receptionist helped the construction worker and got a present from her.
 Gender: female
Construction worker

Sentence: The receptionist welcomed the lawyer because it is her first day to work.
 Gender: female
Lawyer

Sentence: The lawyer offered a free legal advice to the attendant, which he was in dire need of.
 Gender: male

Attendant