This task involves annotating the answer type to a given question that involve some kind of complex reasoning (including numerical reasoning). Note that the questions require looking at more than one part of the passage to answer. There are 3 possible answer types (i) spans, (ii) numbers and (iii) dates. If the answer can be found in the passage, label it as "span". If the answer is a number, label as "number". Similarly, label "date" if you think the answer to the given question is a date.
--------
Question: Passage: The 19th century was dominated by the Hungarian struggle for independence and modernisation. The national insurrection against the Habsburgs began in the Hungarian capital Hungarian Revolution of 1848 and was defeated one and a half years later, with the help of the Russian Empire. 1867 was the year of Austro-Hungarian Compromise of 1867 that brought about the birth of Austria-Hungary. This made Budapest the twin capital of a dual monarchy. It was this compromise which opened the second great phase of development in the history of Budapest, lasting until World War I. In 1849 the Chain Bridge (Budapest) linking Buda with Pest was opened as the first permanent bridge across the Danube and in 1873 Buda and Pest were officially merged with the third part, Obuda (Old Buda), thus creating the new metropolis of Budapest. The dynamic Pest grew into the countrys administrative, political, economic, trade and cultural hub. Ethnic Hungarians overtook Danube Swabians in the second half of the 19th century due to mass migration from the overpopulated rural Transdanubia and Great Hungarian Plain. Between 1851 and 1910 the proportion of Hungarians increased from 35.6% to 85.9%, Hungarian became the dominant language, and German was crowded out. The proportion of Jews peaked in 1900 with 23.6%. Due to the prosperity and the large Jewish community of the city at the start of the 20th century, Budapest was often called the "Jewish Mecca" or "Judapest". In 1918, Austria-Hungary lost the war and collapsed; Hungary declared itself an independent republic (Republic of Hungary). In 1920 the Treaty of Trianon partitioned the country, and as a result, Hungary lost over two-thirds of its territory, and about two-thirds of its inhabitants, including 3.3 million out of 15 million ethnic Hungarians.
Question: What year did the Hungarian Revolution end?

Answer: date

Question: Passage: The Confederation-controlled Ava was next. Bayinnaung made extensive preparations, assembling a large invasion force . In December 1554, the Toungoo land and naval forces invaded. Within a month, the invasion forces held complete command of the river and the country. On 22 January 1555, the southern forces took the city. Bayinnaung then planned to follow up to the Confederation's home states to prevent future Shan raids into Upper Burma. With the entire Irrawaddy valley under his control, he was able to raise a large army of 24,000 men, 1200 horses and 60 elephants, and invaded the Shan states in January 1557. The massive show of force worked. Shan states one after another submitted with minimal resistance. By March 1557, Bayinnaung in one stroke controlled all cis-Salween Shan states from the Patkai range at the Assamese border in the northwest to Mohnyin , Mogaung in present-day Kachin State to Momeik Thibaw , and Mone in the east.
Question: How many months did it take for Bayinnaung to take over Ava?

Answer: number

Question: Passage: The French conquest of Morocco took place in 1911 in the aftermath of the Agadir Crisis, when Moroccan forces besieged the French-occupied city of Fez. On 30 March 1912, Sultan Abdelhafid signed the Treaty of Fez, formally ceding Moroccan sovereignty to France, transforming Morocco into a protectorate of France. However, many regions remained in revolt until 1934, when Morocco was declared to be pacified, but in several regions French authority was maintained by cooperation with local chiefs and not military strength. On 17 April 1912, Moroccan infantrymen mutinied in the French garrison in Fez. The Moroccans were unable to take the city and were defeated by a French relief force. In late May 1912, Moroccan forces unsuccessfully attacked the enhanced French garrison at Fez. The last aftermath of the conquest of Morocco occurred in 1933-34, the pacification of Morocco took over 22 years.
Question: In what year did the last aftermath of the conquest of Morocco occur?

Answer:
date