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: tom said "check" to ralph as he took his bishop.; pronoun: his

Output: ralph


Input: Consider Input: text: i poured water from the bottle into the cup until it was full.; pronoun: it

Output: the cup


Input: Consider Input: text: frank felt vindicated when his longtime rival bill revealed that he was the winner of the competition.; pronoun: he


Output: frank