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 Second Goryeo-Khitan War was an 11th-century conflict between the kingdom of Goryeo and the Liao dynasty  near what is now the border between China and North Korea. It was the second of the Goryeo-Khitan Wars, with the First Goryeo-Khitan War occurring in 993, the second in 1010, and the third in 1018. When King Seongjong died in 997, Liao invested his successor Wang Song as king of Goryeo . In 1009, he was assassinated by the forces of the general Gang Jo. Using it as a pretext, the Liao attacked Goryeo in the next year. They lost the first battle but won the second one, and Gang Jo was captured and killed. The Liao occupied and burnt the Goryeo capital Kaesong. The Khitan withdrew after Goryeo reaffirmed its tributary relationship with the Khitan.
Question: which battle did Liao win?

Answer: span


Question: Passage: Švitrigaila was losing his influence in the Slavic principalities and could no longer resist Poland and Sigismund. On 4 September 1437 he attempted to reconcile with Poland: he would rule the lands that still backed him , and after his death these territories would pass to the King of Poland. However, under strong protest from Sigismund, the Polish Senate declined to ratify the treaty . In 1438 Švitrigaila withdrew to Moldavia. The reign of Sigismund Kęstutaitis was brief — he was assassinated in 1440. Švitrigaila returned from exile in 1442 and ruled Lutsk until his death a decade later. Jogaila's son Casimir IV Jagiellon, born in 1426, received approval as a hereditary hospodar from Lithuania's ruling families in 1440. This event is seen by the historians Jerzy Lukowski and Hubert Zawadzki as marking the end of the succession dispute.
Question: What year did Švitrigaila die?

Answer: date


Question: Passage: As early as 1070, Adam von Bremen referred to Roskilde as "Zealands largest town". At the time of the Reformation in 1536, it had some 6,000 inhabitants but as a result of war, fire and disease, by 1753 its population had dropped to only 1,550. By the 1860s, it had grown to around 5,000 and by the 1900s to some 9,000. Thereafter it increased appreciably until 1970 when there were almost 45,000 inhabitants. The population dipped slightly to 40,000 in the 1980s, but thanks to improved connections with Copenhagen and the establishment of the university, it grew steadily to reach 47,117 by 2014 making Roskilde Denmarks tenth largest city.
Question: Which year in Roskilde had the least number of inhabitants,1753 or 1536?

Answer:
date