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.

Input: Consider Input: Passage: In the city, the population was spread out with 28.1% under the age of 18, 9.2% from 18 to 24, 26.2% from 25 to 44, 21.4% from 45 to 64, and 15.1% who were 65 years of age or older.  The median age was 36 years. For every 100 females, there were 83.5 males.  For every 100 females age 18 and over, there were 77.7 males.
Question: Which age group had the fourth most people?

Output: span


Input: Consider Input: Passage: He was however forced to fall back across the Danube, and the Ottomans in turn led a massive counter-offensive  which aimed to not only take back their recently captured possessions but also conquer Wallachia once and for all. The push was initially successful, managing to capture not only Giurgiu but also Bucharest and Târgovişte, in spite of meeting fierce opposition at Călugăreni . At this point the Ottoman command grew complacent and stopped pursuing the retreating Wallachian army, focusing instead on fortifying Târgovişte and Bucharest and considering their task all but done. Michael had to wait almost two months for aid from his allies to arrive, but when it did his counter-offensive took the Ottomans by surprise, managing to sweep through the Ottoman defences on three successive battlefields, at Târgovişte , Bucharest , and Giurgiu . The Battle of Giurgiu in particular was devastating for the Ottoman forces, which had to retreat across the Danube in disarray. The war between Wallachia and the Ottomans continued until late 1599, when Michael was unable to continue the war due to poor support from his allies. The turning point of the war was the Battle of Mezőkeresztes, which took place in the territory of Hungary on October 24-26, 1596. The combined Habsburg-Transylvanian force of 45-50,000 troops was defeated by the Ottoman army. The battle turned when Christian soldiers, thinking they had won the battle, stopped fighting in order to plunder the Ottoman camp. Despite this victory, the Ottomans realized for the first time the superiority of Western military equipment over Ottoman weapons. This battle was the first significant military encounter in Central-Europe between a large Christian army and the Ottoman Turkish Army after the Battle of Mohács. Nevertheless, Austrians recaptured Győr and Komarom in 1598.
Question: On which date did the Battle of Mezőkeresztes begin?

Output: date


Input: Consider Input: Passage: In Spring 1922, Poeymirau and Freydenberg launched attacks into the headwaters of the Moulouya in the western Middle Atlas and managed to defeat Said, the last surviving member of the Berber triumvirate, at  El Ksiba in April 1922.  Said was forced to flee, with much of the Aït Ichkern tribe, to the highest mountains of the Middle Atlas and then into the High Atlas.  Lyautey then secured the submission of several more tribes, constructed new military posts and improved his supply roads; by June 1922, he had brought the entire Moulouya Valley under control and pacified much of the Middle Atlas.  Limited in numbers by rapid post-war demobilisation and commitments to garrisons in Germany, he determined not to march through the difficult terrain of the High Atlas but to wait for the tribes to tire of the guerrilla war and submit.  Said never did so, dying in action against a groupe mobile in March 1924, though his followers continued to cause problems for the French into the next decade.  Pacification of the remaining tribal areas in French Morocco was completed in 1934, though small armed gangs of bandits continued to attack French troops in the mountains until 1936.  Moroccan opposition to French rule continued, a plan for reform and return to indirect rule was published by the nationalist Comité d'Action Marocaine  in 1934, with significant riots and demonstrations occurring in 1934, 1937, 1944 and 1951.  France, having failed to quell the nationalists by deposing the popular Sultan Mohammed V and already fighting a bloody war of independence in Algeria, recognised Moroccan independence in 1956.
Question: What happened first: Poeymirau and Freydenberg launched attacks or significant riots?


Output: span