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: fred watched tv while george went out to buy groceries. after an hour he got up.; pronoun: he

Output: fred


Input: Consider Input: text: thomson visited cooper's grave in 1765. at that date he had been dead for five years.; pronoun: he

Output: cooper


Input: Consider Input: text: i saw jim yelling at some guy in a military uniform with a huge red beard. i don't know who he was, but he looked very unhappy.; pronoun: he


Output: the guy in uniform


