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: The main legacy of the Revolt of the Barretinas was an enduring anti-French sentiment in the Catalan leadership and intelligentsia.  This would become relevant a decade later in 1700, when King Charles II died without a son.  Charles' death triggered the War of the Spanish Succession.  The two claimants were the French Philip, Duke of Anjou and the Austrian Emperor Leopold I.  The Spanish government chose Philip; French King Louis XIV, Philip's grandfather, naturally supported his grandson as well.  The Catalan upper classes, still distrustful of France from its efforts to stir the peasantry against them in 1689, had no love for Philip.  He was "a king chosen by Castilians."  In 1702, the cortes voted to recognize Leopold as king, and full-scale rebellion against Philip began in 1705 with the arrival of supporting Austrian troops.  The war would continue for nine more years, until the Siege of Barcelona in 1714 when the last remaining Catalan supporters of Leopold were defeated by the combined Franco-Castilian army.  The Nueva Planta decrees, issued by Philip from 1707-1714, ended the nominal split between Castile and Aragon and eliminated the traditional autonomy Aragon had kept.  Castilian law and institutions were mandated throughout Spain.
Question: In which year did the War of the Spanish Succession end?

Ex Output:
date


Ex Input:
Passage: Coming off their win over the Saints, the Falcons stayed at home for a Week 11 interconference duel with the Denver Broncos.  In the first quarter, Atlanta trailed early as Broncos FB Peyton Hillis got a 7-yard TD run. The Falcons would answer with kicker Jason Elam (a former Bronco) getting a 46-yard field goal. In the second quarter, Atlanta took the lead as Elam made a 36-yard field goal, while RB Michael Turner got a 9-yard TD run. In the third quarter, Denver retook the lead as Hillis got a 2-yard TD run.  In the fourth quarter, the Broncos increased their lead as kicker Matt Prater nailed a 20-yard field goal.  The Falcons tried to rally as Turner got a 28-yard field goal, yet Denver replied with quarterback Jay Cutler competing a 9-yard TD pass to TE Daniel Graham.  From there on out, the Broncos' defense stopped any other possible comeback attempt. With their first home loss of the year, Atlanta fell to 6-4. This was the first of only two home losses suffered by Matt Ryan in the NFL through 12/27/2010. The second was to the New Orleans Saints on December 27, 2010, the final Monday Night Football game of the 2010 season.
Question: what falcan do for get 20 yard?

Ex Output:
span


Ex Input:
Passage: For Bayinnaung, the work was not yet done. On 15 October 1569, Bayinnaung at Ayutthaya led several regiments of his wounded army to invade Lan Xang via Phitsanulok. Setthathirath again fled Vientiane. Bayinnaung's men pursued but could not find him. Tired by long marches in a mountainous country, the Burmese army gave up and left Vientiane in May 1570. Another expedition in 1572 after Setthathirath's death also failed to bring order. Finally, the king himself led another expedition, and put his nominee on the Lan Xang throne in November 1574. Aside from a minor rebellion in 1579, Lan Xang gave no trouble for the rest of Bayinnaung's reign.
Question: How many years after the king put his nominee on the Lan Xang throne was there a minor rebellion?

Ex Output:

number