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 Q]: 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 A]: date

[EX Q]: Passage: Trying to snap a five-game skid, the Chiefs flew to INVESCO Field at Mile High for a Week 14 AFC West rematch with the Denver Broncos.  In the first quarter, Kansas City trailed early as Broncos QB Jay Cutler completed a 21-yard TD pass to WR Brandon Stokley, along with RB Travis Henry getting a 1-yard TD run.  In the second quarter, the Chiefs would get their only score of the game as QB Brodie Croyle completed a 15-yard TD pass to TE Tony Gonzalez. Afterwards, Denver took over as Cutler completed an 8-yard TD pass to WR Brandon Marshall, while kicker Jason Elam managed to get a 37-yard field goal.  In the third quarter, the Broncos sealed the win with Elam nailing another 37-yard field goal, while Cutler completed a 2-yard TD pass to TE Daniel Graham, along with a 13-yard TD pass to Marshall. With their sixth-straight loss (their longest losing streak since 1987), Kansas City fell to 4-9.
Question: Which quarterback threw more touchdown passes?
[EX A]: span

[EX Q]: Passage: In 1762, the population of the Dutch colony of Berbice included 3,833 enslaved Blacks, 244 enslaved Amerindians or indigenous people, and 346 whites. On 23 February 1763, slaves on Plantation Magdalenenberg on the Canje River in Berbice rebelled, protesting harsh and inhumane treatment. They torched the plantation house, then went to other plantations to mobilize other enslaved Africans to join the rebellion. Cuffy, an enslaved man at Lilienburg, another plantation on Canje, is said to have organized them into a military unit. As plantation after plantation fell to the slaves, the Dutch settlers fled northward and the rebels began to take over control of the region. For almost a year, the rebels held on to southern Berbice, while the whites were able to hold on to the north. Eventually only about half of the white population that had lived in the colony remained. The rebels came to number about 3,000 and threatened European control over the Guianas. Other key figures among the rebels include Atta, Accara, and Accabre. The insurgents were eventually defeated in the spring of 1764 with the assistance of troops from neighbouring French and British colonies and from Europe.
Question: Slaves on Plantation Magdalenenberg on the Canje River in Berbice rebelled how many years before the insurgents were eventually defeated?
[EX A]:
number