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: Antananarivo has been the largest city on the island since at least the late 18th century, when its population was estimated at 15,000. By 1810, the population had grown to 80,000 before declining dramatically between 1829 and 1842 during the reigns of Radama I and especially Ranavalona I. Because of a combination of war, forced labor, disease and harsh measures of justice, the population of Imerina fell from 750,000 to 130,000 during this period. In the final years of the Kingdom of Imerina, the population had recovered to between 50,000 and 75,000; most of the population were slaves who were largely captured in provincial military campaigns. In 1950, Antananarivos population was around 175,000. By the late 1990s the population of the metropolitan area had reached 1.4 million, and while the city itself now has a population (2013) of about 1,300,000 with suburbs lying outside the city limits it had grown to almost 2.1 million in 2013. The metropolitan area is thus home to 10 percent of the islands residents. Rural migration to the capital propels this growth; the citys population exceeds that of the other five provincial capitals combined.
Question: How many percent of the island's population lives outside the metropolitan area of Antananarivo?

Ex Output:
number

Ex Input:
Passage: The median income for a household in the city in 2000 was $29,378 (2010$37,436), and the median income for a family was $41,158. Males had a median income of $32,929 versus $26,856 for females. The per capita income for the city was $17,076. About 20.2% of families and 25.9% of the population were below the poverty line, including 41.5% of those under age 18 and 5.6% of those age 65 or over.
Question: Which median income was higher, a household in the city or for a family?

Ex Output:
span

Ex Input:
Passage: The disintegration of the Pagan Empire was now complete. But the Mongols refused to fill in the power vacuum they had created. They would send no more expeditions to restore order. The emperor apparently had no interest in committing troops that would be required to pacify the fragmented country. Indeed, his real aim all along may have been "to keep the entire region of Southeast Asia broken and fragmented." It would be another two years until one of Narathihapate's sons, Kyawswa, emerged as king of Pagan in May 1289. But the new "king" controlled just a small area around the capital, and had no real army. The real power in central Burma now rested with the three commander brothers. The uneasy arrangement would persist until 1297. The Mongols continued to occupy northern Burma to Tagaung as the province of Zhengmian but ended the fictional central Burma province of Mianzhong on 18 August 1290. Meanwhile, the power struggle in central Burma continued with the three brothers blatantly consolidating support. To check their rising power, Kyawswa submitted to the Mongols in January 1297, and was recognized by the Yuan emperor Temur Khan as King of Pagan on 20 March 1297. The emperor also gave Chinese titles to the brothers as subordinates of Kyawswa. The brothers resented the new arrangement as it directly reduced their power. On 17 December 1297, the three brothers overthrew Kyawswa, and founded the Myinsaing Kingdom. The dethronement forced the Mongol government to intervene again, leading to the second Mongol invasion of Burma . The invasion failed. Two years later, on 4 April 1303, the Mongols abolished the province of Zhengmian , evacuated Tagaung, and returned to Yunnan.
Question: What year did the second Mongol invasion of Burma occur?

Ex Output:
date