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.

Q: Passage: 2. The relative quiet of the Tatar attacks on Russia in the late 30s and early 40s of the 17th century is undoubtedly due to the occupation of Azov by the Don Cossacks. The Russian government did not want to start a war with Turkey, did not send troops and after a long occupation the Cossacks left the town in 1642. The builders of the Belgorod Line and residents of the southern Russian districts, by the increase of Tatar attacks, immediately felt the change in the situation on the lower reaches of the Don. 3. In summer of 1633, 2000 Budjak Tatars invaded the southern Polish land and began to ravage Podolia. Crown Field Hetman Stanislaw Koniecpolski camping with the Polish army at Bar, led the 2000 cavalry against the Tatars and forced them to retreat. He then crossed the Dniester and on 4 July at the Battle of Sasov Rog on the River Prut defeated enemy. Poles captured several Budjak mirzas, among whom was the son-in-law of Cantemir Mirza, freed all the captives and captured a large part of the loot. In August Silistrian Pasha, Abaza Pasha, led the Turkish troops came to the Polish border and encamped near Khotin . Koniecpolski with a Polish army  went out to meet the enemy and established fortified camp near the fortress Kamenetz-Podolsky. Initially Abaza Pasha entered into peace negotiations with Koniecpolski. On 19 September the Budjak Horde  under Kantemir Mirza arrived to help Abaza-Pasha. On 20 September Abaza-Pasha crossed the Dniester and Kantemir Mirza attacked the Polish position. On 23 September Abaza Pasha, confident of his numerical superiority, attacked the Polish camp near Kamenets, but was defeated and forced to retreat to Moldavia. 
Question: How many times did the Tatars invade Southern Polish and invaded Podolia? 
Answer type: Number 

A: 2.
****
Q: 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 apart was the the two armed youth uprising in 1971 and 1987>? 
Answer type: Number 

A: 16.
****
Q: Passage: The effects of flooding can be devastating and cause significant damage to crops and houses, serious bank erosive with consequent loss of homesteads, school and land, and loss of many lives, livestock and fisheries. During the 1998 flood, over 70% of the land area of Bangladesh was inundated, affecting 31 million people and 1 million homesteads. In the 1998 flood which had an unusually long duration from July to September, claimed 918 human lives and was responsible for damaging 16 00 and 6000 km of roads and embankments respectively, and affecting 6000 km2 of standing crops. The 2004 floods, over 25% of the population of Bangladesh or 36 million people, was affected by the floods; 800 lives were lost; 952 000 houses were destroyed and 1.4 million were badly damaged; 24 000 educational institutions were affected including the destruction of 1200 primary schools, 2 million governments and private tubewells were affected, over 3 million latrines were damaged or washed away, this increases the risks of waterborne diseases including diarrhea and cholera. Also, 1.1 M ha of rice crop was submerged and lost before it could be harvested, with 7% of the yearly aus (early season) rice crop lost; 270 000 ha of grazing land was affected, 5600 livestock perished together with 254 00 poultry and 63 MT of lost fish production. 
Question: How many average people were affected per homestead? 
Answer type: Number 

A:
3.1.
****