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: When the railroad was extended through Madison in 1875, larger mills were built. The first Madison Woolen Mill was constructed in 1881 near the bridge between Madison and Anson, with the firm's second mill built nearby in 1887. In 1890, the Manufacturing Investment Company built a sulfite mill, but it failed. It was taken over in 1899 by the Great Northern Paper Company, which rebuilt the plant to produce wood pulp and paper. Like many New England textile manufacturers, the town's woolen mills eventually went out of business, but the pulp and paper mill remains today as the Madison Paper Industries which will close by May 2016 due to low demand for supercalender paper and Canadian competition. In 1901, Lakewood Summer Theatre opened in East Madison on the western side of Lake Wesserunsett. Since 1967 it has been the official summer theatre of Maine, and the oldest continually operating summer theatre in America. Actors who have performed at Lakewood include John Travolta, Carol Channing, and Phyllis Diller Completed in 2007 is the largest structure by volume in Maine, the Backyard Farms greenhouse that covers 24 acres .
Question: How many years after the Manufacturing Investment Company built a sulfite mill that failed was it taken over by the Great Northern Paper Company?

Ex Output:
number

Ex Input:
Passage: Per 2013 census, the total population of the department was 867,463 with 431,357 males and 436,106 females. The proportion of women was 50.30 per cent. The total rural population was 75.70 percent, while the urban population was 24.30 per cent. The proportion of women in child bearing age of 15 to 49 years was 22.00 per cent. The total foreign population in the department was 28,636 which formed 3.30 per cent of the total population in the department. The proportion of assets of foreigners aged 10+ years was 27.40 per cent, while for the people aged 15-64 years, it was 26.40 per cent. The proportion of women in foreign population constituted 47.60 per cent. The number of households in the department was 108,351 and the average household size was 8. The intercensal growth rate of population was 4.60 per cent.
Question: How many percent of the foreign population was not above 10 years old?

Ex Output:
number

Ex Input:
Passage: In 1509, Diogo Lopes de Sequeira was sent to Malacca by the king of Portugal with four ships in order to establish contact with the Sultanate of Malacca. Initially, Sequeira was well received by the Sultan Mahmud Syah . Soon however, the Muslim community convinced Mahmud Syah that the Portuguese should be eliminated. Several men were captured and killed, but the ships escaped. Albuquerque first departed from India for Malacca in April 1511, with 1,200 men and 17 to 18 ships. Albuquerque's objective was to sever Islamic trade and Venetian trade on the same occasion.A first attack by the Portuguese failed on 25 July 1511. Albuquerque's captains spoke against another attempt, but he struck again, succeeding in capturing Malacca in August, despite strong resistance and the presence of artillery on the Malaccan side. In celebration, Tristao da Cunha was sent to Pope Leo X in Rome with rich presents including the elephant that the pope named Hanno.
Question: How many months passed between Albuquerque first departing for Malacca and the first failed attack by the Portuguese?

Ex Output:
number