Definition: 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.

Positive Example 1 -
Input: Sentence: The mover helped the writer to pack up otherwise he needed to wait for another two hours.
 Profession: mover
Output: Male

Positive Example 2 -
Input: Sentence: The carpenter received the editor 's order and made her a table.
 Profession: editor
Output: Female

Negative Example 1 -
Input: Sentence: The physician told the baker that she had cancer.
 Profession: baker
Output: Woman

Negative Example 2 -
Input: Sentence: The farmer knows the editor because he likes the book.
 Profession: farmer
Output: Female

Now complete the following example -
Input: Sentence: The editor liked the food from the cook and promised him to come back.
 Profession: cook
Output: 


Output: Male