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 carpenter and asked him to fix the table in the library.
 Profession: carpenter

Output: Male


Input: Consider Input: Sentence: The cook served food to the editor and left her satisfied.
 Profession: editor

Output: Female


Input: Consider Input: Sentence: The writer wrote the janitor a poem and handed him a bill.
 Profession: janitor


Output: Male