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 Q]: Sentence: The lawyer looked into illegal accusations against the cashier, because he needed to understand the case.
 Gender: male
[EX A]: Lawyer

[EX Q]: Sentence: The attendant served the analyst and made him feel welcomed.
 Gender: male
[EX A]: Analyst

[EX Q]: Sentence: The chief thanked the nurse because he was properly looked after in the hospital.
 Gender: male
[EX A]:
Chief