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: Consider Input: Passage: Main article: Kazan rebellion of 1552-56. 18,000 men were left as a garrison and Ivan returned to Moscow to celebrate. After the fall of Kazan resistance continued in the countryside. The tribes refused to pay taxes. Russian merchants were killed which led to reprisals. The forts of Çalım and Mişätamaq and were built on the west and east sides of the Volga. The Nogai Ali Akram was brought in as khan. Soltikov marched against Mişätamaq but he and 500 men were surrounded in the snow and killed. Ivan sent a larger force. There were daily combats in the snow and forests. Ten thousand men were killed, six thousand were captured along with fifteen thousand women and children. 1600 leading Tatars were put to death.The leaders Yepancha and Aleka were killed.  Ali Akram proved incompetent and was killed by Mameshbirde. Mameshbirde was betrayed to the Russians. The fort of Mişätamaq fell at some point. After the fall of Çalım in 1556 most resistance came to an end. In 1556 the Russians went down the Volga and conquered the Khanate of Astrakhan. In 1558 Anikey Stroganov was granted large lands on the Kama River northeast of Kazan, which he worked to develop. In 1582 the Stroganovs were involved in the conquest of the Khanate of Sibir east of the Urals. The Kazan Tatars continued to live in the area and retained their language and religion. 
Question: How many total people were killed or captured by Ivan? 
Answer type: Number 

Output: 31000.


Input: Consider Input: Passage: In 1976, the then Syrian president Hafez al-Assad sent troops into Lebanon to fight PLO forces on behalf of Christian militias. This led to escalated fighting until a cease-fire agreement later that year that allowed for the stationing of Syrian troops within Lebanon. The Syrian presence in Lebanon quickly changed sides; soon after they entered Lebanon they had flip-flopped and began to fight the Christian nationalists in Lebanon they allegedly entered the country to protect. The Kateab Party and the Lebanese Forces under Bachir Gemayel strongly resisted the Syrians in Lebanon. In 1989, 40,000 Syrian troops remained in central and eastern Lebanon under the supervision of the Syrian government. Although, the Taif Accord, established in the same year, called for the removal of Syrian troops and transfer of arms to the Lebanese army, the Syrian Army remained in Lebanon until the Lebanese Cedar Revolution in 2005 to end the Syrian occupation of Lebanon. In 1994, the Lebanese government under the pressure of the Syrian government, gave Lebanese passport to thousands of Syrians. There are nearly 1.08 million registered Syrian refugees in Lebanon. 
Question: How many years was it from when Hafez al-Assad sent troops into Lebanon and when the Lebanese government gave Lebanese passports to thousands of Syrians? 
Answer type: Number 

Output: 28.


Input: Consider Input: Passage: Exceptions to this claimed general rule were the Lancastrian looting of Ludlow after the largely bloodless Yorkist defeat at Ludford Bridge in 1459, and the widespread pillaging carried out by Queen Margaret's unpaid army as it advanced south in early 1461. Both events inspired widespread opposition to the Queen, and support for the Yorkists. Many areas did little or nothing to change their city defences, perhaps an indication that they were left untouched by the wars. City walls were either left in their ruinous state or only partially rebuilt. In the case of London, the city was able to avoid being devastated by convincing the York and Lancaster armies to stay out after the inability to recreate the defensive city walls. Few noble houses were extinguished during the wars; in the period from 1425 to 1449, before the outbreak of the wars, there were as many extinctions of noble lines from natural causes  as occurred during the fighting  from 1450 to 1474. The most ambitious nobles died and by the later period of the wars, fewer nobles were prepared to risk their lives and titles in an uncertain struggle. The kings of France and Scotland and the dukes of Burgundy played the two factions off against each other, pledging military and financial aid and offering asylum to defeated nobles and pretenders, to prevent a strong and unified England from making war on them. 
Question: How many years prior to the widespread pillaging carried out by Queen Margaret's army did the the York's make a defeat at Ludford Bridge? 
Answer type: Number 


Output: 2.