Input: Bolshevik-led attempts to gain power in other parts of the Russian Empire were largely successful in Russia proper — although the fighting in Moscow lasted for two weeks — but they were less successful in ethnically non-Russian parts of the Empire, which had been clamoring for independence since the February Revolution. For example, the Ukrainian Rada, which had declared autonomy on 23 June 1917, created the Ukrainian People's Republic on 20 November, which was supported by the Ukrainian Congress of Soviets. This led to an armed conflict with the Bolshevik government in Petrograd and, eventually, a Ukrainian declaration of independence from Russia on 25 January 1918. In Estonia, two rival governments emerged: the Estonian Provincial Assembly, established in April 1917, proclaimed itself the supreme legal authority of Estonia on 28 November 1917 and issued the Declaration of Independence on 24 February 1918. Soviet Russia recognized the Executive Committee of the Soviets of Estonia as the legal authority in the province, although the Soviets in Estonia controlled only the capital and a few other major towns.The success of the October Revolution transformed the Russian state into a soviet republic. A coalition of anti-Bolshevik groups attempted to unseat the new government in the Russian Civil War from 1918 to 1922. In an attempt to intervene in the civil war after the Bolsheviks' separate peace with the Central Powers, the Allied powers  occupied parts of the Soviet Union for over two years before finally withdrawing. The United States did not recognize the new Russian government until 1933. The European powers recognized the Soviet Union in the early 1920s and began to engage in business with it after the New Economic Policy  was implemented.

Question: How many days passed between the Ukrainian Rada declaring autonomy and the Ukrainian declaration of independence from Russia?


Input: The National Labor Union , founded in 1866, was the first national labor federation in the United States. It was dissolved in 1872. The regional Order of the Knights of St. Crispin was founded in the northeast in 1867 and claimed 50,000 members by 1870, by far the largest union in the country. A closely associated union of women, the Daughters of St. Crispin, formed in 1870. In 1879 the Knights formally admitted women, who by 1886 comprised 10% of the union's membership, but it was poorly organized and soon declined. They fought encroachments of machinery and unskilled labor on autonomy of skilled shoe workers. One provision in the Crispin constitution explicitly sought to limit the entry of "green hands" into the trade, but this failed because the new machines could be operated by semi-skilled workers and produce more shoes than hand sewing.

Question: How many years did it take for women to reach 10 percent of members in the Order of the Knights of St. Crispin ?


Input: The Mongols' greatest triumph was when Kublai Khan established the Yuan dynasty in China in 1271. The Yuan dynasty created a "Han Army"  out of defected Jin troops and an army of defected Song troops called the "Newly Submitted Army" . The Mongol force which invaded southern China was far greater than the force they sent to invade the Middle East in 1256. The Yuan dynasty established the top-level government agency Bureau of Buddhist and Tibetan Affairs to govern Tibet, which was conquered by the Mongols and put under Yuan rule. The Mongols also invaded Sakhalin Island between 1264 and 1308. Likewise, Korea  became a semi-autonomous vassal state and compulsory ally of the Yuan dynasty for about 80 years. The Yuan dynasty was eventually overthrown during the Red Turban Rebellion in 1368 by the Han Chinese who gained independence and established the Ming dynasty.

Question: How many years did the Yuan dynasty last?


Input: The war between Russia and Sweden continued after the disaster of Poltava in 1709, though the shattered Swedish continental army could provide very little help. Russia captured Viborg  in 1710 and successfully held it against Swedish attempts to retake the town in 1711. In 1712 the first Russian campaign to capture Finland began under the  command of General Admiral Fyodor Apraksin. Apraksin gathered an army of 15,000 men at Vyborg and started the operation in late August. Swedish General Georg Henrik Lybecker chose not to face the Russians with his 7,500 men in the prepared positions close to Vyborg and instead withdrew west of Kymijoki river using scorched earth tactics. Apraksin's forces reached the river but chose not to cross it and instead withdrew back to Vyborg, likely due to problems in supply. Swedish efforts to maintain their defences were greatly hampered by the drain of manpower by the continental army and various garrisons around the Baltic Sea as well as by the plague outbreak that struck Finland and Sweden]] between 1710-1713, which devastated the land killing, amongst others, over half of the population of Helsingfors .

Question:
How many years was between when Russia captured Viborg and the first Russian campaign to capture Finland?