instruction:
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.
question:
Sentence: The driver gave a free ride to the secretary because she was an old friend.
 Gender: female
answer:
Secretary


question:
Sentence: The baker is afraid of the sheriff because he looks very serious.
 Gender: male
answer:
Sheriff


question:
Sentence: The accountant called the chief and thank him for the offer.
 Gender: male
answer:

Chief