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 secretary called the physician and told her about a new patient.
 Profession: physician
Example Output: Female

Example Input: Sentence: The assistant helped the carpenter and learned from her.
 Profession: carpenter
Example Output: Female

Example Input: Sentence: The cook loved the librarian 's books and constantly stole from him.
 Profession: librarian
Example Output:
Male