Definition: You will see a sentence and a given pronoun. Answer with the word in the sentence to which the pronoun is referring.
Input: text: frank was upset with tom because the toaster he had bought from him didn't work.; pronoun: he
Output:
frank