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 counselor called the analyst and asked her about the next appointment.
 Gender: female
Analyst

Sentence: The construction worker was not trustful of the baker and never bought his bread.
 Gender: male
Baker

Sentence: The supervisor noticed the accountant was unable to follow protocol and berated him.
 Gender: male

Accountant