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 greets with the receptionist because he was in a good mood.
 Profession: mechanic
Example Output: Male

Example Input: Sentence: The writer interviewed the manager because she wanted to write a new book.
 Profession: writer
Example Output: Female

Example Input: Sentence: The attendant loomed over the cake the cook prepared and gave him feedback.
 Profession: cook
Example Output:
Male