instruction:
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: Coming off their road win over the Panthers, the Bills went home for a Week 8 duel with the Houston Texans.  In the first quarter, Buffalo struck first as wide receiver Terrell Owens got a 29-yard touchdown run.  The Texans would answer in the second quarter with a 42-yard and a 22-yard field goal from kicker Kris Brown.  The Bills would end the half with kicker Rian Lindell's 21-yard field goal. Houston would creep closer in the third quarter with Brown booting a 26-yard field goal.  In the fourth quarter, the Texans would take the lead and never look back as running back Ryan Moats got three touchdown runs of 11 yards (followed by quarterback Matt Schaub's 2-point conversion pass to wide receiver Andre Johnson), 1 yard, and 3 yards. With the loss, Buffalo went into their bye week at 3-5. Despite the loss, rookie safety Jairus Byrd once again had two interceptions.  He would become the first rookie and only the second player in NFL history to have three-straight multi-interception games. 
Question: How many field goals were scored in the second half? 
Answer type: Number 
answer:
1.


question:
Passage: Hoping to rebound from their home loss to the Bears, the Colts flew to the Hubert H. Humphrey Metrodome for a Week 2 interconference duel with the Minnesota Vikings.  In the first half, Indianapolis trailed as Vikings kicker Ryan Longwell got a 45-yard and a 27-yard field goal in the first quarter, along with a 53-yard field goal in the second quarter.  It marked the first time that the Colts got shut out in the first half since October 2006. In the third quarter, Minnesota increased its lead with Longwell nailing a 46-yard and a 28-yard field goal.  Afterwards, Indianapolis started to rally as RB Joseph Addai got a 1-yard TD run.  In the fourth quarter, the Colts drew closer as QB Peyton Manning completed a 32-yard TD pass to WR Reggie Wayne, followed by a 2-point conversion run by RB Dominic Rhodes.  Afterwards, near the end of game, Indianapolis completed its comeback as kicker Adam Vinatieri nailing the game-winning 47-yard field goal. 
Question: How many field goals measuring shorter than 40 yards were made during the game? 
Answer type: Number 
answer:
2.


question:
Passage: The earliest human remains found on the island of Sri Lanka date to about 35,000 years ago . The proto-historical period begins roughly in the 3rd century, based on chronicles like the Mahavamsa, Dipavamsa, and the Culavamsa. The earliest documents of settlement in the Island are found in these chronicles. These chronicles cover the period since the establishment of the Kingdom of Tambapanni in the 6th century BCE. The first Sri Lankan ruler of the Anuradhapura Kingdom, Pandukabhaya, is recorded for the 4th century BCE. Buddhism was introduced in the 3rd century BCE by Arhath Mahinda . The first Tamil ruler of the Anuradhapura Kingdom, Ellalan, an invader, is recorded for the 2nd century BCE. The island was divided into numerous kingdoms over the following centuries, intermittently  united under Chola rule. Sri Lanka was ruled by 181 monarchs from the Anuradhapura to Kandy periods.From the 16th century, some coastal areas of the country were also controlled  by the Portuguese, Dutch and British.Between 1597 and 1658, a substantial part  of the island was under Portuguese rule. The Portuguese lost their possessions in Ceylon due to Dutch intervention in the Eighty Years' War. Following the Kandyan Wars, the island was united under British rule in 1815.Armed uprisings against the British took place in the 1818 Uva Rebellion and the 1848 Matale Rebellion. Independence was finally granted in 1948 but the country remained a Dominion of the British Empire until 1972. In 1972 Sri Lanka assumed the status of a Republic. A constitution was introduced in 1978 which made the Executive President the head of state. The Sri Lankan Civil War began in 1983, including an armed youth uprising in 1971 and 1987-1989, with the 25-year-long civil war ending in 2009. 
Question: How many years went by between the Uva Rebellion and the Matale Rebellion? 
Answer type: Number 
answer:

30.