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: Main article: Kazan rebellion of 1552-56. 18,000 men were left as a garrison and Ivan returned to Moscow to celebrate. After the fall of Kazan resistance continued in the countryside. The tribes refused to pay taxes. Russian merchants were killed which led to reprisals. The forts of Çalım and Mişätamaq and were built on the west and east sides of the Volga. The Nogai Ali Akram was brought in as khan. Soltikov marched against Mişätamaq but he and 500 men were surrounded in the snow and killed. Ivan sent a larger force. There were daily combats in the snow and forests. Ten thousand men were killed, six thousand were captured along with fifteen thousand women and children. 1600 leading Tatars were put to death.The leaders Yepancha and Aleka were killed.  Ali Akram proved incompetent and was killed by Mameshbirde. Mameshbirde was betrayed to the Russians. The fort of Mişätamaq fell at some point. After the fall of Çalım in 1556 most resistance came to an end. In 1556 the Russians went down the Volga and conquered the Khanate of Astrakhan. In 1558 Anikey Stroganov was granted large lands on the Kama River northeast of Kazan, which he worked to develop. In 1582 the Stroganovs were involved in the conquest of the Khanate of Sibir east of the Urals. The Kazan Tatars continued to live in the area and retained their language and religion.
Question: When did the Kazan rebellion end?

Ex Output:
date


Ex Input:
Passage: In December 1499, the Venetians attacked Lepanto with the hope of regaining their lost territories in the Ionian Sea. Kemal Reis set sail from Cefalonia and re-took Lepanto from the Venetians. He stayed in Lepanto between April and May 1500, where his ships were repaired by an army of 15,000 Ottoman craftsmen brought from the area. From there, Kemal Reis set sail and bombarded the Venetian ports on the island of Corfu, and in August 1500 he once again defeated the Venetian fleet at the Battle of Modon. Kemal Reis bombarded the fortress of Modon from the sea and captured the town. He later engaged with the Venetian fleet off the coast of Coron and captured the town along with a Venetian brigantine. From there Kemal Reis sailed towards the Island of Sapientza  and sank the Venetian galley Lezza. In September 1500, Kemal Reis assaulted Voiussa and in October he appeared at Cape Santa Maria on the Island of Lefkada, before ending the campaign and returning to Constantinople in November. With the Battle of Modon, the Turkish fleet and army quickly overwhelmed most of the Venetian possessions in Greece. Modon and Coron, the "two eyes of the Republic", were lost. Doge Agostino Barbarigo asked the Pope and the Catholic Monarchs for help, and on 24 December a Spanish-Venetian army commanded by Gonzalo de Córdoba took Cephalonia, temporarily stopping the Ottoman offensive on eastern Venetian territories.
Question: What happened first, the attack on Lepanto, or the Battle of Modon?

Ex Output:
span


Ex Input:
Passage: In 2014, Aston Martin suffered a pre-tax loss of £72 million, almost triple that of 2013 selling 3,500 cars during the year, well below 7,300 sold in 2007 and 4,200 sold in 2013. In March 2014, Aston Martin issued "payment in kind" notes of US$165 million, at 10.25% interest, in addition to the £304 million of senior secured notes at 9.25% issued in 2011. Aston Martin also had to secure an additional investment of £200 million from its shareholders to fund development of new models.  It is reported that Aston Martins pre-tax losses for 2016 increased by 27% to £162.8 million, the sixth year it continued to suffer a loss.
Question: Which year did Aston Martin sell more cars, 2007 or 2013?

Ex Output:

date