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 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?

Ex Output:
span


Ex Input:
Passage: The Kiev uprising of 1068 was a revolt against Grand Prince Iziaslav Yaroslavich of Kiev in the aftermath of a Kievan Rus' defeat at the hands of the Cumans at Battle of the Alta River near the city of Pereiaslavl, southeast of Kiev. The Polovtsy raid of 1068-1069 was only the tribe's second major raid into Rus'  in 1055, but the tribesmen broke the treaty and attacked Kievan Rus' six years later, defeating Vsevolod in battle).  In 1068-1069, the Polovtsy penetrated the earthwork defensive lines built up over the years by Prince Vladimir Svyatoslavich  and his son, Yaroslav the Wise .  They were met by a combined army of Yaroslav's sons: Grand Prince Iziaslav of Kiev and his brothers, Princes Sviatoslav Yaroslavich of Chernigov, and Vsevolod, which was defeated and fled back to Kiev in disarray. The Polovsty continued to raid throughout the area, prompting the Kievans to call on the grand prince to rearm them so they could march out and meet the threat.  Iziaslav refused, prompting the rebellion.  The Tale of Bygone Years , a part of The Lavrentian Chronicle, relates what happened next:
Question: How many years did the Polovtsy raid last?

Ex Output:
number


Ex Input:
Passage: The conquest of Semigallian counties started in 1219 when crusaders from Rīga occupied Mežotne, the major port on the Lielupe waterway, and founded the Bishopric of Semigallia. After several unsuccessful campaigns against the pagan Semigallian duke Viestards and his Samogitian kinsfolk, the Roman Curia decided in 1251 to abolish the Bishopric of Semigallia, and divided its territories between the Bishopric of Rīga and the Order of Livonia. In 1265 a stone castle was built at Jelgava, on the Lielupe, and became the main military base for crusader attacks against the Semigallians. In 1271 the capital hillfort of Tērvete was conquered, but Semigallians under the Duke Nameisis rebelled in 1279, and the Lithuanians under Traidenis defeated Livonian Order forces in the Battle of Aizkraukle. Duke Nameisis' warriors unsuccessfully attacked Rīga in 1280, in response to which around 14,000 crusaders besieged Turaida castle in 1281. To conquer the remaining Semigallian hillforts the Order's master Villekin of Endorpe built a castle called Heiligenberg right next to the Tērvete castle in 1287. The same year the Semigallians made another attempt to conquer Rīga, but again failed to take it. On their return home Livonian knights attacked them, but were defeated at the Battle of Garoza, in which the Orders' master Villekin and at least 35 knights lost their lives. The new master of the Order Cuno of Haciginstein organised the last campaigns against the Semigallians in 1289 and 1290; the hillforts of Dobele, Rakte and Sidarbe were conquered and most of the Semigallian warriors joined the Samogitian and Lithuanian forces.
Question: When was the next to last campaign against the Semigallians?

Ex Output:

date