In this task, you are given a sentence and a gender. The sentence mentions two professions: one's gender is unknown and the other's gender can be identified using the gendered pronouns that refer to them in the text. You are expected to return the profession with the given gender.
--------
Question: Sentence: The construction worker asked the nurse for an examination because she was injured.
 Gender: female

Answer: Construction worker


Question: Sentence: The guard met with the writer and asked him for an autograph.
 Gender: male

Answer: Writer


Question: Sentence: The counselor taught the developer how to write the patent and charged her 2,000 dollars.
 Gender: female

Answer:
Developer