In this task, you're given a sentence and question. Based on the information provided in a given sentence, you should identify the shortest continuous text span from the sentence that serves as an answer to the given question. Answer the question using coreference resolution. Coreference resolution is the task of clustering mentions in text that refer to the same underlying real world entities. For example let's take a sentence 'I voted for Obama because he was most aligned with my values, she said.' Here in this example 'I', 'my', and 'she' belong to the same cluster and 'Obama' and 'he' belong to the same cluster. Now let's discuss another example , original sentence: 'I voted for Trump because he was most aligned with my values',John said. Now here is the same sentence with resolved coreferences: 'John voted for Trump because Trump was most aligned with John's values',John said. 

Ex Input:
Sentence: Joe paid the detective after he received the final report on the case. Question: Who received the final report?

Ex Output:
Joe


Ex Input:
Sentence: I couldn't find a spoon, so I tried using a pen to stir my coffee. But that turned out to be a bad idea, because it got full of coffee. Question: What got full of coffee?

Ex Output:
pen


Ex Input:
Sentence: Fred is the only man alive who still remembers my father as an infant. When Fred first saw my father, he was twelve years old. Question: Who was twelve years old?

Ex Output:

Fred