Definition: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
Input: Passage: The index reached a relative intraday highwhich was not exceeded for over seven yearsof 1,552.87, on March 24, 2000, during the dot-com bubble. The index then declined by approximately 50%, to 768.63, on October 10, 2002, during the stock market downturn of 2002. On May 30, 2007, the S&P 500 closed at 1,530.23, to set its first all-time closing high in more than seven years. Although the index achieved a new all-time intraday high on October 11, 2007, at 1,576.09, following a record close of 1,565.15 on October 9, the index finished 2007 at 1,468.36 pointsjust below its 1999 annual close. Less than a month later, it dropped to 1,400, and would not see similar levels again for five years.
Question: How many points had the index gained from October 10, 2002 to October 9, 2007?
Answer type: Number
Output:
796.52.