You will see a sentence and a given pronoun. Answer with the word in the sentence to which the pronoun is referring.

Input: Consider Input: text: they broadcast an announcement, but a subway came into the station and i couldn't hear over it .; pronoun: it

Output: the subway


Input: Consider Input: text: james asked robert for a favor but he was refused.; pronoun: he

Output: robert


Input: Consider Input: text: joe paid the detective after he delivered the final report on the case.; pronoun: he


Output: the detective