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

Example Input: text: sam tried to paint a picture of shepherds with sheep, but they ended up looking more like golfers.; pronoun: they
Example Output: the shepherds

Example 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
Example Output: the guy in uniform

Example Input: text: fred is the only man still alive who remembers my great-grandfather. he was a remarkable man.; pronoun: he
Example Output:
my great-grandfather