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

Ex Input:
text: if the con artist has succeeded in fooling sam, he would have lost a lot of money.; pronoun: he

Ex Output:
sam


Ex Input:
text: joe has sold his house and bought a new one a few miles away. he will be moving out of it on thursday.; pronoun: it

Ex Output:
the old house


Ex Input:
text: fred was supposed to run the dishwasher, but he put it off, because he wanted to watch tv. but the show turned out to be boring, so he changed his mind and turned it on.; pronoun: it

Ex Output:

the dishwasher