Definition: You will see a sentence and a given pronoun. Answer with the word in the sentence to which the pronoun is referring.
Input: text: joe paid the detective after he received the final report on the case.; pronoun: he
Output:
joe