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: 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: Joaquín de Montserrat was named viceroy of New Spain early in 1760. The transfer of power was made September 19, 1760 in Otumba, and his formal entry into Mexico City was October 6, 1760. Among his immediate and most important concerns was the organization of a true colonial army. As he passed through Puebla he reviewed a battalion of militia formed of Negroes and Mulattoes. Their arms were very irregular, and the new viceroy made a formal request to Spain for new rifles to arm them. In 1761 there was an epidemic of smallpox that principally attacked the Indians. Estimates were 14,600 dead in Mexico City and up to 80,000 in Puebla. The government nearly emptied its coffers  to provide what palliative assistance was possible. Viceroy Montserrat took economy measures, ordered the collection of back taxes, and prohibited hoarding of foodstuffs and merchandise. On November 20, 1761, Mayas under Jacinto Canek rose in rebellion in Cisteil, Yucatan. Canek was captured, and on December 14, 1761 he was tortured and quartered in the plaza of Valladolid. Other disasters during Montserrat's term of office included a major flood in Guanajuato that paralyzed the operation of the silver mines , and another epidemic  that caused many deaths . He also had to send military assistance to Sonora, where a revolt of Pimas and Seris had broken out against their maltreatment by the Spanish colonists. The rebels had killed the garrisons of two presidios and the governor before escaping to the mountains, where they were finally subdued.
Question: How many more people were potentially dead in Puebla than Mexico City?

Ex Output:
number


Ex Input:
Passage: There were two main movements for the west side. The first one was performed while Ottomans were dealing with the Greek uprising, see Greek War of Independence.The Greeks' independence war led to the Russian forces advancing into Bulgaria before the Turks sued for peace. The resulting Treaty of Adrianople  on September 14, 1829, gave Russia most of the eastern shore of the Black Sea and the mouth of the Danube. The second independence movement happened during the uprisings. See Bosnia and Herzegovina: 19th-20th centuries, Romanian War of Independence. An uprising against Ottoman rule began in Herzegovina in July 1875. The Bulgarians organised the April Uprising, which lasted from April to May 1876. Serbia achieved autonomy and Russia was allowed to occupy Moldavia and Wallachia  until Turkey had paid a large indemnity. The uprisings raised a chance for Russia  and Austria-Hungary , who made the secret Reichstadt Agreement on July 8, on partitioning the Balkan peninsula depending on the outcome. During the Russo-Turkish war of 1877-1878, in February 1878 the Russian army had almost reached the Ottoman capital but, scared the city might fall, the British sent a fleet of battleships to intimidate Russia from entering the Ottoman capital. Under pressure from the British fleet to negotiate on the outcome of the war, Russia agreed a settlement under the Treaty of San Stefano on March 3, by which the Ottoman Empire recognized the independence of its former provinces Romania, Serbia and Montenegro and autonomy of Bulgaria. The Congress of Berlin also allowed Austria to occupy Bosnia and Herzegovina and Great Britain to take over Cyprus.
Question: What year did Russia and Austria-Hungary make the Reichstadt Agreement?

Ex Output:

date