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.

Example Input: Sentence: The mechanic waved at the librarian and walked away from him.
 Profession: librarian
Example Output: Male

Example Input: Sentence: The cook served food to the editor and left him satisfied.
 Profession: editor
Example Output: Male

Example Input: Sentence: The editor called the mechanic and told her to read the latest newspaper.
 Profession: mechanic
Example Output:
Female