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: During Stalins Great Purge in the late-1930s, which had not ended by the time of the German invasion on 22 June 1941, much of the officer corps of the Red Army was executed or imprisoned and their replacements, appointed by Stalin for political reasons, often lacked military competence. Of the five Marshal of the Soviet Union appointed in 1935, only Kliment Voroshilov and Semyon Budyonny survived Stalins purge. Tukhachevsky was killed in 1937. Fifteen of 16 army commanders, 50 of the 57 corps commanders, 154 of the 186 divisional commanders, and 401 of 456 colonels were killed, and many other officers were dismissed. In total, about 30,000 Red Army personnel were executed. Stalin further underscored his control by reasserting the role of political commissars at the divisional level and below to oversee the political loyalty of the army to the regime. The commissars held a position equal to that of the commander of the unit they were overseeing. But in spite of efforts to ensure the political subservience of the armed forces, in the wake of Red Armys poor performance Soviet invasion of Poland and in the Winter War, about 80 percent of the officers dismissed during the Great Purge were reinstated by 1941. Also, between January 1939 and May 1941, 161 new divisions were activated. Therefore, although about 75 percent of all the officers had been in their position for less than one year at the start of the German invasion of 1941, many of the short tenures can be attributed not only to the purge, but also to the rapid increase in creation of military units. 
Question: How many Red Army corps commanders were NOT killed? 
Answer type: Number 

Answer: 7.


Question: Passage: Crimean Khan Haji Giray, learning of the defeat of the Budjak Tatars gathered 10,000-12,000 men and went against Kunitsky. At the end of December Kunitsky with 10,000-12,000 Cossacks and Moldavians left Budjak and began to cross the Prut River near the village of Tobak, not far from the town of Reni, Ukraine. Here on 30 December they were suddenly attacked by Tatar cavalry under Khan Haji Giray. Kunitsky built a fortified camp and successfully repelled the Tatar attacks. On the night of 3 to 4 January 1684 the Moldavian allies betrayed the Cossacks and left the Cossack camp. In this situation Kunitsky with the Cossack cavalry  broke through the enemy ring and crossed the Prut. The Cossack infantry  under Andrey Mogila also broke out and crossed the Prut near Boyanova, but suffered heavy losses. By 10 January only five thousand Cossacks reached Jassy. 
Question: How many days after the Cossacks and Moldavians were attacked by Tatar calalry under Khan Haji Giray did the Moldavian allies betray the Cossacks? 
Answer type: Number 

Answer: 4.


Question: Passage: In December 1774, a Siamese supported rebellion broke out at Lampang in Lan Na, and soon spread. On 15 January 1775, the rebels took Chiang Mai, and overthrew the Burmese installed government. In November 1775, two Burmese armies of 35,000 were to invade Lan Na and Siam. But because of a mutiny by a senior commander, the southern army lost a significant portion of the troops. The remaining Burmese armies fought their way in. The northern army managed to capture Chiang Mai, albeit at a great cost, and the southern army took Sukhothai and Phitsanulok in central Siam. However, the invasion forces were too small to overcome the Siamese defences, and were bogged down. The armies withdrew in June 1776 after Hsinbyushin died. Hsinbyushin's successor Singu stopped the war with Siam, and demobilised much of the army. The decision was well received by the war-torn country. The people had grown tired of constant conscriptions to fight in "ever-lasting wars" in remote regions they had never heard of. But the king had unwittingly given up Chiang Mai, which proved to be the end of two centuries of Burmese rule there. Likewise, Singu took no action in 1778 when Vientiane and Luang Prabang stopped paying tribute, and came under Siam's sphere of influence. 
Question: How many years passed between the rebellion at Lampang in Lan Na and the death of Hsinbyushin? 
Answer type: Number 

Answer:
2.