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: On July 24, 1580, Antonio proclaimed himself as King of Portugal and of the Algarves, in Santarem, which was followed by popular acclamation in several locations of the country. However, he governed in Continental Portugal for only 33 days, culminating in his defeat at the Battle of Alcantara by the Spanish armies led by Fernando Alvarez de Toledo, Duke of Alba on August 25. The Battle ended in a decisive victory for the Spanish Habsburgs, both on land and sea. Two days later, the Duke of Alba captured Lisbon. In early 1581, Antonio fled to France and, as Philip's armies had not yet occupied the Azores, he sailed there with a number of French adventurers under Filippo Strozzi, a Florentine exile in the service of France, but was utterly defeated at sea by a combined Spanish-Portuguese navy commanded by Don Alvaro de Bazan, 1st Marquis of Santa Cruz at the Battle of Ponta Delgada off Terceira Island on July 26, 1582 and off Sao Miguel Island on July 27, 1582. Antonio still accompanied an English Expedition, under the command of Sir Francis Drake and Sir John Norreys, to the coasts of Spain and Portugal but the Expedition failed and Antonio's attempt to rule Portugal from Terceira Island, in the Azores came to an end in 1583.
Question: Which date was Antonio no longer King?

Ex Output:
date

Ex Input:
Passage: In the city, the year 2010 population was spread out with 26.3% under the age of 18, 13.6% from 18 to 24, 30.7% from 25 to 44, 21.1% from 45 to 64, and 7.2% who were 65 years of age or older. The median age was 32 years. For every 100 females, there were 92.5 males. For every 100 females age 18 and over, there were 88.4 males.
Question: Which age group is larger: under the age of 18 or 65 years of age or older?

Ex Output:
span

Ex Input:
Passage: From November 1943, during the seven-week Battle of Changde, the Chinese forced Japan to fight a costly war of attrition, while awaiting Allied relief. In January 1944, the Allies launched a series of attacks in Italy against the line at Monte Cassino and tried to outflank it with landings at Anzio. By the end of January, a major Soviet offensive expelled German forces from the Leningrad region, ending the longest and most lethal siege in history. The following Soviet offensive was halted on the pre-war Estonian border by the German Army Group North aided by Estonians hoping to re-establish national independence. This delay slowed subsequent Soviet operations in the Baltic Sea region. By late May 1944, the Soviets had liberated Crimea, largely expelled Axis forces from Ukraine, and made incursions into Romania, which were repulsed by the Axis troops. The Allied offensives in Italy had succeeded and, at the expense of allowing several German divisions to retreat, on 4 June, Rome was captured. The Allies had mixed success in mainland Asia. In March 1944, the Japanese launched the first of two invasions, an operation against British positions in Assam, India, and soon besieged Commonwealth positions at Imphal and Kohima. In May 1944, British forces mounted a counter-offensive that drove Japanese troops back to Burma, and Chinese forces that had invaded northern Burma in late 1943 besieged Japanese troops in Myitkyina. The second Japanese invasion of China aimed to destroy China's main fighting forces, secure railways between Japanese-held territory and capture Allied airfields. By June, the Japanese had conquered the province of Henan and begun a new attack on Changsha in the Hunan province.
Question: In what month did the Battle of Cahngde end?

Ex Output:
date