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 sheriff borrowed a book from the librarian but never returned anything to him.
 Profession: librarian

Ex Output:
Male


Ex Input:
Sentence: The cook is always teaching the assistant new techniques and gave him advice.
 Profession: assistant

Ex Output:
Male


Ex Input:
Sentence: The manager promoted the housekeeper because she appreciated the dedication.
 Profession: manager

Ex Output:

Female