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: According to the census in 2005, there were 2,628,811 residents in Osaka, an increase of 30,037 or 1.2% from 2000. There were 1,280,325 households with approximately 2.1 persons per household. The population density was 11,836 persons per km². The 1923 Great Kantō earthquake caused a mass migration to Osaka between 1920 and 1930, and the city became Japans largest city in 1930 with 2,453,573 people, outnumbering even Tokyo, which had a population of 2,070,913. The population peaked at 3,252,340 in 1940, and had a post-war peak of 3,156,222 in 1965, but continued to decrease since, as the residents moved out to the suburbs.
Question: Which year had a higher peak in population, 1940 or 1965?
Example Output: date

Example Input: Passage: The Russo-Circassian War  involved a series of battles and wars in Circassia, the northwestern part of the Caucasus, in the course of the Russian Empire's conquest of the Caucasus. Fighting lasted approximately 101 years, starting in the reign of Empress Catherine the Great and finishing in 1864. Although the Russian conquest of the Caucasus started at least as early as the Russo-Persian Wars, the term Caucasian War commonly refers only to the period 1817-1864. Those who use the term Russian-Circassian War take its starting date as 1763, when the Russians began establishing forts, including at Mozdok, to be used as springboards for conquest. The Caucasian War ended with the signing of loyalty oaths by Circassian leaders on 2 June  1864. Afterwards, the Ottoman Empire offered to harbour the Circassians who did not wish to accept the rule of a Christian monarch, and many emigrated to Anatolia, the heart of the Ottoman territory and ended up in modern Turkey, Syria, Jordan, Israel, Iraq and Kosovo. Different smaller numbers ended up in neighbouring Persia. Various Russian, Caucasus, and Western historians agree on the figure of ca. 500,000 inhabitants of the highland Caucasus being deported by Russia in the 1860s. A large fraction of them died in transit from disease. Some of those that remained loyal to Russia were settled into the lowlands, the left-bank of the Kuban River.
Question: How many years did the Caucasian War last?
Example Output: number

Example Input: Passage: While Ava had its hands full with the Manipuri raids in Upper Burma, a rebellion broke out at Pegu in November 1740. Ethnic Mon officials selected Smim Htaw Buddhaketi, a cousin of the king at Ava, as their king. The court at Pegu consolidated its hold in Lower Burma. Starting in 1742, Pegu, with renegade Dutch and Portuguese musketeers, began its annual raids of the upcountry. Because of the Manipuri threat, Ava could only send small armies to the south in 1743 and 1744, neither of which made any mark. The war "carried on languidly", with neither side achieving any lasting advantage until 1747. In December 1747, Binnya Dala came to power in Pegu, and the new king was determined to finish the war. He was not satisfied to gain independence for Lower Burma itself but determined to make Upper Burma its tributary. He stopped the annual raids and began planning for a decisive invasion. He sought and received French East India Company's support in firearms. Alarmed, Ava too sought support from China but no help materialised. In November 1751, Pegu launched a full-scale invasion by land and by river with a total strength of 30,000. Ava had prepared an extensive defensive line around Ava—a riverside fort at Sinbyukyun on the Irrawaddy, and a series of forts at Sintgaing, Tada-U and Pinya en route to Ava. By mid-January, the invasion forces had overcome Ava's defences, and laid siege to the city. On 21 March 1752, the invaders broke through the city's outer walls. Two days later, they breached the inner walls and took the city. The 266-year-old Toungoo Dynasty had fallen.
Question: When did the Toungoo Dynasty fall?
Example Output:
date