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.

Example Input: Passage: In September 1190 Richard and Philip arrived in Sicily. After the death of King William II of Sicily his cousin Tancred had seized power and had been crowned early in 1190 as King Tancred of Sicily, although the legal heir was William's aunt Constance, wife of the new Emperor Henry VI. Tancred had imprisoned William's widow, Queen Joan, who was Richard's sister and did not give her the money she had inherited in William's will. When Richard arrived he demanded that his sister be released and given her inheritance; she was freed on 28 September, but without the inheritance. The presence of foreign troops also caused unrest: in October, the people of Messina revolted, demanding that the foreigners leave. Richard attacked Messina, capturing it on 4 October 1190. After looting and burning the city Richard established his base there, but this created tension between Richard and Philip Augustus. He remained there until Tancred finally agreed to sign a treaty on 4 March 1191. The treaty was signed by Richard, Philip, and Tancred. Its main terms were:
Question: What was the date that all this ended?
Example Output: date

Example Input: Passage: France in the Ancien Régime covered a territory of around 200,000 square miles , and supported 22 million people in 1700. At least 96% of the population were peasants. France had the largest population in Europe, with European Russia second at 20 million. Britain had nearly six million, Spain had eight million, and the Austrian Habsburgs had around eight million. Russia was the most populated European country at the time. France's lead slowly faded after 1700, as other countries grew faster.
Question: How many million people did Russia have?
Example Output: span

Example Input: Passage: The Crimean Tatar's invasions of Russia  began in 1507, after the death of Moscow's grand duke Ivan III, with the Crimean Khanate attacking the Russian towns of Belev and Kozelsk. Over the course of the 16th century, the outer border of the Wild Steppes was near the city of Ryazan, outside the Oka River. The main path for the invading forces to Moscow was the Muravsky Trail, running from the Crimean Isthmus of Perekop, between the basins of the Dnieper and Severskiy Donets rivers, and finally up to Tula. The Tatars would turn back only after extensive looting and kidnapping, the Tartars usually managed to penetrate 100-200 kilometers into Russian territory. Captives were subsequently sent to the Crimean city of Caffa to be sold into Slavery. As a result, the Russian population in the border regions suffered heavily. Each spring, Russia mobilized up to 65,000 soldiers for border service. The defensive lines consisted of a circuit of fortresses and cities. To protect from invasions by the Nogai Horde in the region between the Volga and Irtysh rivers, the Volga cities of Samara , Tsaritsyn , and Saratov  were founded. The most damaging invasions occurred in 1517, 1521 , 1537 , 1552, 1555, 1570-72 , 1589, 1593, 1640, 1666-67 , 1671, and 1688.
Question: What year was the second to last major invasion?
Example Output:
date