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: In late 1920, the Persian Soviet Socialist Republic in Rasht was preparing to march on Tehran with "a guerrilla force of 1,500 Jangalis, Kurds, Armenians and Azerbaijanis", reinforced by the Bolsheviks' Red Army. This fact, along with various other disorders, mutinies and unrest in the country created "an acute political crisis in the capital." By 1921, the ruling Qajar dynasty of Persia had become corrupt and inefficient. The oil-rich nation was somewhat reliant on the nations of Britain and Russia for military and economic support. Civil wars earlier in the decade had threatened the government, and the only regular military force at the time was the Cossack Brigade. The Qajar shah in 1921 was Ahmad, who had been crowned at the age of eleven. He was considered to be a weak, incompetent ruler, especially after British, Russian and Ottoman occupations of Persia during World War I. In 1911, when the capital city, Tehran, had been seized by the Russians, armed Bakhtiaris tribemen, rather than Iranian regular troops, expelled the invaders. This further diminished the government's reputation, rendering it almost powerless in time of war. Britain, which played a major role in Persia, was dismayed by the Qajar government's inability to rule efficiently. This inefficiency was the background of a power struggle between Britain and Russia, each nation hoping to control Persia. On 14 January 1921, the British General Ironside chose to promote Reza Khan, who had been leading the Tabriz battalion, to lead the entire brigade. About a month later, under British direction, Reza Khan's 3,000-4,000 strong detachment of the Cossack Brigade reached Tehran.
Question: When did Reza Khan did Tehran?

Ex Output:
date


Ex Input:
Passage: Following the withdrawal of the SNA, the WSLF continued their insurgency. By May 1980, the rebels, with the assistance of a small number of SNA soldiers who continued to help the guerrilla war, controlled a substantial region of the Ogaden. However, by 1981 the insurgents were reduced to sporadic hit-and-run attacks and were finally defeated. In addition, the WSLF and SALF were significantly weakened after the Ogaden War. The former was practically defunct by the late 1980s, with its splinter group, the Ogaden National Liberation Front  operating from headquarters in Kuwait. Even though elements of the ONLF would later manage to slip back into the Ogaden, their actions had little impact. For the Barre regime, the invasion was perhaps the greatest strategic blunder since independence, and it weakened the military. Almost one-third of the regular SNA soldiers, three-eighths of the armored units and half of the Somali Air Force  were lost. The weakness of the Barre administration led it to effectively abandon the dream of a unified Greater Somalia. The failure of the war aggravated discontent with the Barre regime; the first organized opposition group, the Somali Salvation Democratic Front , was formed by army officers in 1979. The United States adopted Somalia as a Cold War ally from the late 1970s to 1988 in exchange for use of Somali bases, and a way to exert influence upon the region. A second armed clash in 1988 was resolved when the two countries agreed to withdraw their militaries from the border.
Question: When did Somalia and the US stop being allies?

Ex Output:
date


Ex Input:
Passage: In the town, 10.0% of the population were under the age of 18, 55.7% were from 18 to 24, 13.3% were from 25 to 44, 13.6% were from 45 to 64, and 7.4% were 65 years of age or older. The median age was 21.6 years. For every 100 females, there were 95.8 males. For every 100 females age 18 and over, there were 94.7 males.
Question: Who has the largest number of population?

Ex Output:

span