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.

Ex Input:
Passage: After the Lithuanians were defeated in the Battle of Strėva by the Teutonic Knights in 1348, Liubartas lost all territories except for eastern Volhynia with Lutsk to Casimir and his ally Louis I of Hungary . Liubartas' brothers Algirdas and Kęstutis organized several expeditions to Poland and Red Ruthenia. Lithuanians allied themselves with Muscovy: Liubartas married an unnamed daughter of Konstantin of Rostov, a relative of Simeon of Moscow, and Algirdas married Uliana of Tver, sister-in-law of Simeon. In spring 1351, Lubartas was taken prisoner by Louis, but was released in summer after a truce was agreed upon with Kęstutis. The deal fell through and more military attacks followed in 1352. Another truce, rather favorable to the Lithuanians, was signed in fall 1352: Lubartas received not only Volhynia and Podolia, but also Belz and Chełm. However, already in 1353, Liubartas attacked again. Casimir responded by organizing a large campaign against the pagan Lithuanians with a special permission from Pope Innocent VI. After the campaign did not achieve the desired results, Casimir contemplated an alliance with the Lithuanians. In 1366, Casimir, allied with Siemowit III of Masovia and nephews of Liubartas, resumed the war. As Algirdas was involved in conflicts in the east and Kęstutis fought with the Teutonic Knights, Liubartas had to defend alone and was defeated. In fall 1366, a treaty was signed: Liubartas retained only eastern Volhynia with Lutsk and became somewhat dependent on Poland . Casimir awarded his allies: Yuri, son of Karijotas, received Chełm, his brother Alexander received Volodymyr-Volynskyi, and Yuri, son of Narimantas, continued to rule Belz.
Question: Which brother of Liubartas married a relative of Simeon of Moscow?

Ex Output:
span


Ex Input:
Passage: Throughout its existence, Warsaw has been a multi-cultural city. According to the 1901 census, out of 711,988 inhabitants 56.2% were Catholics, 35.7% Jews, 5% Greek Orthodox Christians and 2.8% Protestants. Eight years later, in 1909, there were 281,754 Jews (36.9%), 18,189 Protestants (2.4%) and 2,818 Mariavite Church (0.4%). This led to construction of hundreds of places of religious worship in all parts of the town. Most of them were destroyed in the aftermath of the Warsaw uprising of 1944. After the war, the new communist authorities of Poland discouraged church construction and only a small number were rebuilt.
Question: Which year saw a lower amount of Protestants in the population, 1901 or 1909?

Ex Output:
date


Ex Input:
Passage: The citys history is marked by numerous great fires. In 1198, the  faction set fire to the city in connection with a battle against the  faction during the civil war. In 1248,  and  burned, and 11 churches were destroyed. In 1413 another fire struck the city, and 14 churches were destroyed. In 1428 the city was plundered by German pirates, and in 1455, Hanseatic League merchants were responsible for burning down Munkeliv Abbey. In 1476,  burned down in a fire started by a drunk trader. In 1582, another fire hit the city centre and . In 1675, 105 buildings burned down in . In 1686 a new great fire hit , destroying 231 city blocks and 218 boathouses. The greatest fire to date happened in 1702 when 90 percent of the city was burned to ashes. In 1751, there was a great fire at . In 1756, a new fire at  burned down 1,500 buildings, and further great fires hit  in 1771 and 1901. In 1916, 300 buildings burned down in the city centre, and in 1955 parts of  burned down.
Question: What year was the earliest reported great fire?

Ex Output:

date