In this task, you are given a sentence and a profession that is mentioned in the sentence. The gender of the person with the given profession can be identified using the gendered pronouns that refer to them in the text. You are expected to identify the gender. Select from female and male.

Ex Input:
Sentence: The librarian talked to the chief and recommended him a book.
 Profession: chief

Ex Output:
Male


Ex Input:
Sentence: The cashier borrowed the tool from the carpenter but returned nothing to him.
 Profession: carpenter

Ex Output:
Male


Ex Input:
Sentence: The lawyer called the teacher to ask her the performance of the kid.
 Profession: teacher

Ex Output:

Female