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.

Ex Input:
Passage: After the end of Forty Years' War in 1424, Ava gave up its dream of rebuilding the Pagan Empire. Instead, for the next six decades, it would struggle to hold on to its vassal states. Rebellions arose every time a new king came to power. The new king would have to reestablish his power all over again by gaining the fealty of all the vassal states, usually by show of force. Of these, the remote vassal state of Toungoo , tucked away in the southeastern corner across the Pegu Yoma range, proved most troublesome to successive kings at Ava. Toungoo lords rebelled against Ava in 1426-1440, 1451-1459 and 1468-1470, usually with Pegu's implicit or explicit support. Ava also faced rebellions at Mohnyin  and Prome . The beginning of the end of Ava came in 1480. The new king Minkhaung II was greeted with a multitude of rebellions but it proved to be different this time. The most serious rebellion was by his younger brother, lord of Yamethin. With a serious rebellion so close to Ava, vassal states broke away one by one. The Yamethin rebellion went on until 1500. In 1482, Minkhaung's uncle at Prome successfully revolted, the Prome Kingdom sprang into existence. Ava's vassal Shan states of Mohnyin, Mogaung, Momeik and Kale also broke away in the 1490s. Surprisingly, Ava's steadfast ally during this period was the usually restive vassal of Toungoo which remained loyal to Ava until Minkhaung's death in 1501. 
Question: How many years was the longest Toungoo rebellion? 
Answer type: Number 

Ex Output:
14.


Ex Input:
Passage: In 1620, he crushed the Commonwealth army at the Battle of Ţuţora . The campaign was suspended for the winter but, in 1621, both sides resumed hostilities. In 1621, an army of 100,000-250,000 soldiers , led by Osman II, advanced from Constantinople and Edirne in April, towards the Polish frontier. The Polish army had 8,280 hussars, 8,200 cossack style cavalry , 1,400 Lisowski cavalry, 2,160 western cavalry, 6,800 Polish infantry, 5,800 western infantry, 800 Hungarian infantry and 25,000 Zaporozhian Cossacks. The Turks, following their victory in the Battle of Ţuţora, had high hopes of conquering Ukraine , and perhaps even toppling the Commonwealth entirely and reaching the Baltic Sea. This time, however, they were stopped by a Commonwealth army, aided by a large Cossack detachment, at the Battle of Khotyn. The 65,000 Poles and Cossacks were able to withstand an Ottoman army three times the size throughout the month of September. When the Polish cavalry rallied forth in October they broke the will of the besiegers and the Sultan sued for peace. The ensuing peace treaty resulted in no border change but the Commonwealth agreed to stop its interference in Moldavia. Both sides claimed victory, as the Commonwealth saw the battle of Khotyn as a successful stopping of the Ottoman invasion of its mainland and the Ottoman Empire achieved its goal of removing the impending threat on the Moldavian lands. The Polish-Ottoman border would remain relatively peaceful until the Polish-Ottoman War  and the Polish-Ottoman War . 
Question: How many people total existed between infantry groups that had more than 5000 soldiers? 
Answer type: Number 

Ex Output:
12600.


Ex Input:
Passage: Navarre consists of 272 List of municipalities in Navarre and has a total population of 601,874 (2006), of whom approximately one-third live in the capital, Pamplona (195,769 pop.), and one-half in the capitals metropolitan area (315,988 pop.). There are no other large municipalities in the region. The next largest are Tudela, Navarre (32,802), Barañáin (22,401), Burlada (18,388), Estella - Lizarra (13,892), Zizur Mayor (13,197), Tafalla (11,040), Villava/Atarrabia (10,295), and Ansoáin (9,952). 
Question: How many more people live in Barañáin than in Ansoáin and Tafalla combined? 
Answer type: Number 

Ex Output:

1409.