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.

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

Output: Male


Input: Consider Input: Sentence: The guard asked the librarian to leave because it was late and she looked really tired.
 Profession: librarian

Output: Female


Input: Consider Input: Sentence: The guard was a big fan of the writer because he loved romantic novels.
 Profession: guard


Output: Male