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: Mohacs is seen by many Hungarians as the decisive downward turning point in the country's history, a national trauma that persists in the nation's folk memory. For moments of bad luck, Hungarians still say: "more was lost at Mohacs" . Hungarians view Mohacs as marking the end of an independent and powerful European nation. Whilst Mohacs was a decisive loss, it was the aftermath that truly put an end to independent Hungary. The ensuing two hundred years of near constant warfare between the two empires, Habsburg and Ottoman, turned Hungary into a perpetual battlefield. The countryside was regularly ravaged by armies moving back and forth, in turn devastating the population. Only in the 19th century would Hungary regain some degree of autonomy, with full independence coming only after the First World War; however, the Treaty of Trianon awarded much of its former land to other states , and Hungary has never regained its former political power. In the 464 years from 1525 to 1989, Hungary spent the vast majority of the time under the direct or indirect domination of a foreign power. These foreign powers were, successively, the Ottoman Empire , the Holy Roman Empire , the Austrian Empire , and the Soviet Union ; furthermore, between 1867 and 1918 Hungary was widely considered the "junior" partner in the Austro-Hungarian Empire: autonomy was granted, but stopped well short of independence. The battlefield, beside the village of Satorhely, became an official national historical memorial site in 1976 on the 450th anniversary of the battle. The memorial was designed by architect Gyorgy Vadasz. A new reception hall and exhibition building, also designed by Vadasz and partially funded by the European Union, was completed in 2011.
Question: What was the former year of Hungary being considered the junior partner?

Ex Output:
date

Ex Input:
Passage: Another factor in the revolt of 1381 was the conduct of the war with France. In 1337 Edward III of England had pressed his claims to the French throne, beginning a long-running conflict that became known as the Hundred Years' War. Edward had initial successes, but his campaigns were not decisive. Charles V of France became more active in the conflict after 1369, taking advantage of his country's greater economic strength to commence cross-Channel raids on England. By the 1370s, England's armies on the continent were under huge military and financial pressure; the garrisons in Calais and Brest alone, for example, were costing 36,000 a year to maintain, while military expeditions could consume 50,000 in only six months. Edward died in 1377, leaving the throne to his grandson, Richard II, then only ten years old.
Question: What year was Richard II born?

Ex Output:
date

Ex Input:
Passage: The Black Death had killed an estimated one-third of the population of France from its appearance in 1348. The concurrent Hundred Years' War slowed recovery. It would be the early 16th century before the population recovered to mid-14th century levels. With an estimated population of 11 million in 1400, 20 million in the 17th century, and 28 million in 1789, until 1795 France was the most populated country in Europe and the third most populous country in the world, behind only China and India. These demographic changes also led to a massive increase in urban populations, although on the whole France remained a profoundly rural country. Paris was one of the most populated cities in Europe . Other major French cities include Lyon, Rouen, Bordeaux, Toulouse, and Marseille. These centuries saw several periods of epidemics and crop failures due to wars and climatic change. Between 1693 and 1694, France lost 6% of its population. In the extremely harsh winter of 1709, France lost 3.5% of its population. In the past 300 years, no period has been so proportionally deadly for the French, both World Wars included.
Question: Which year was the population higher in France, 1400 or 1789?

Ex Output:
date