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.
--------
Question: Passage: With no official figures available, it is estimated that 600,000-900,000 persons fled the country during the Lebanese Civil War . Although some have since returned, this permanently disturbed Lebanese population growth and greatly complicated demographic statistics. Another result of the war was a large number of internally displaced persons. This especially affected the southern Shia community, as Israeli invasion of southern Lebanon in 1978, 1982 and 1996 prompted waves of mass emigration, in addition to the continual strain of occupation and fighting between Israel and Hezbollah . Many Shias from Southern Lebanon resettled in the suburbs south of Beirut. After the war, the pace of Christian emigration accelerated, as many Christians felt discriminated against in a Lebanon under increasingly oppressive Syrian occupation. According to a UNDP study, as much as 10% of the Lebanese had a disability in 1990. Other studies have pointed to the fact that this portion of society is highly marginalized due to the lack of educational and governmental support of their advancement.
Question: How many years passed between the first and the third Israeli invasions in Lebanon?
Answer type: Number

Answer: 18.

Question: Passage: The Ravens wore their alternate uniforms in the game, hosting cross-conference rivals The Washington Redskins at M&T Bank Stadium. The Ravens scored early following an Ed Reed interception that set up a short touchdown pass from Joe Flacco to Le'Ron McClain. With just under ten minutes to go, Washington ran Clinton Portis up the middle for a first down, but Portis fumbled. Raven Ed Reed recovered the ball and advanced it for a touchdown; the Redskins unsuccessfully challenged, contending Portis was down by contact. Those would be the only points on the board for either team in the first half. In the second half, a long Ravens drive beginning at just under eleven minutes to go in the third quarter set up a 32-yard Matt Stover field goal. The Redskins answered with a drive starting late in the third quarter and ending in the early fourth quarter that set up a 43-yard Shaun Suisham field goal. Receiving the kickoff, Baltimore ran just two plays before surrendering the ball to Washington on a Willis McGahee fumble that led to a short drive capped by a touchdown pass from Jason Campbell to Antwaan Randle El. Another kickoff led to a very long Baltimore drive that consumed most of the remaining time. Ten of twelve plays were runs by Le'Ron McClain. A 28-yard touchdown pass to Derrick Mason capped this drive. With three and a half minutes left, the Redskins next drive ended in an Ed Reed interception that enabled Baltimore to burn most of the remaining time. The Redskins took possession for their final series with 0:16 remaining but could not score.
Question: How many interceptions did Ed Reed have?
Answer type: Number

Answer: 2.

Question: Passage: The relationship between the Ottomans and the Mamluks had been adversarial since the Fall of Constantinople to the Ottomans in 1453; both states vied for control of the spice trade, and the Ottomans aspired to eventually taking control of the Holy Cities of Islam. An earlier conflict, which lasted from 1485 to 1491, had led to a stalemate. By 1516, the Ottomans were free from other concernsSultan Selim I had just vanquished the Safavid Persians at the Battle of Chaldiran in 1514and turned their full might against the Mamluks, who ruled in Syria and Egypt, to complete the Ottoman conquest of the Middle East.
Question: How many years did the earlier conflict last?
Answer type: Number

Answer:
6.