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.

Q: Sentence: The developer went to the teacher and asked him about the weather.
 Gender: male

A: Teacher
****
Q: Sentence: The developer consulted with the counselor for hours and paid him a lot of money.
 Gender: male

A: Counselor
****
Q: Sentence: The construction worker prayed for the tailor because she was faithful.
 Gender: female

A:
Construction worker
****