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.

Input: Consider Input: Passage: When the railroad was extended through Madison in 1875, larger mills were built. The first Madison Woolen Mill was constructed in 1881 near the bridge between Madison and Anson, with the firm's second mill built nearby in 1887. In 1890, the Manufacturing Investment Company built a sulfite mill, but it failed. It was taken over in 1899 by the Great Northern Paper Company, which rebuilt the plant to produce wood pulp and paper. Like many New England textile manufacturers, the town's woolen mills eventually went out of business, but the pulp and paper mill remains today as the Madison Paper Industries which will close by May 2016 due to low demand for supercalender paper and Canadian competition. In 1901, Lakewood Summer Theatre opened in East Madison on the western side of Lake Wesserunsett. Since 1967 it has been the official summer theatre of Maine, and the oldest continually operating summer theatre in America. Actors who have performed at Lakewood include John Travolta, Carol Channing, and Phyllis Diller Completed in 2007 is the largest structure by volume in Maine, the Backyard Farms greenhouse that covers 24 acres .
Question: How many years after the Manufacturing Investment Company built a sulfite mill that failed was it taken over by the Great Northern Paper Company?

Output: number


Input: Consider Input: Passage: Josh Freeman threw for 328 yards and three touchdown passes, as Tampa Bay routed the Kansas City Chiefs 38-10. Tampa Bay had 463 yards of total offense, which was third best for a home game in franchise history. Brady Quinn started at quarterback for Kansas City for the injured Matt Cassel, who suffered a concussion in the previous week's game against the Ravens. During the third quarter, Ronde Barber returned a 78-yard interception for a touchdown. Barber has 12 career return touchdowns, which is tied for third all-time in NFL history. Barber now is the first player in NFL history with at least eight interceptions returned for touchdowns, four fumble recoveries returned for touchdowns and a punt return for a touchdown. Barber's eight career interceptions returned for touchdowns tied him for seventh in NFL history. Barber only needs one more return touchdown to tie Rod Woodson and Darren Sharper, who have 13 return touchdowns in their respected careers. Paul Gruber was inducted into Tampa Bay's Ring of Honor during halftime. Tampa Bay held the Chiefs to 80 rushing yards on 30 carries. Kansas City came into the game averaging 180.8 rushing yards a game, which ranked second in the NFL. Jamaal Charles was the #1 rushing leader in the NFL with 551 rushing yards coming into the game, but the Tampa Bay defense held Charles to only 40 rushing yards during the entire game.
Question: Which player Ran for the longest TD of the game?

Output: span


Input: Consider Input: Passage: In the Treaty of Labiau on 20 November, Charles X Gustav of Sweden granted Frederick William of Brandenburg full sovereignty in the Duchy of Prussia in turn for a more active participation in the war. In the Treaty of Radnot on 6 December, Charles X Gustav promised to accept George II Rákóczi of Transylvania as king of Poland and Grand Duke of Lithuania in return for his entrance into the war. Rákóczi entered the war in January 1657, crossing into the commonwealth with a force of 25,000 Transylvanian-Wallachian-Moldavian men and 20,000 Cossacks who broke the Polish siege of Kraków before they met with Charles X Gustav, who had led a Swedish-Brandenburgian army southwards. The following month saw the Swedish-Brandenburg-Transylvanian-Romanian-Cossack forces play cat and mouse with the Polish-Lithuanian forces, moving about all of the commonwealth without any major engagements, except the capture of Brest by Charles X Gustav in May, and the sack of Warsaw by Rákóczi and Gustaf Otto Stenbock on 17 June. Due to internal conflicts within the Cossacks practically there was no participation of Cossack Hetmanate in that war. Worn out from previous campaigns and requesting Bohdan Khmelnytsky to break with Sweden, Alexis of Russia eventually signed the Truce of Vilna or Niemież with the Polish-Lithuanian Commonwealth, and did not engage the Swedish army in any major battle throughout 1657 even though he still reinforced his armies in Livonia. On 18 June, a Swedish force defeated a Russian army of 8,000 men commanded by Matvey V. Sheremetev in the Battle of Walk at Walk . In early 1658, Sweden and Russia agreed on a truce, resulting in the Treaty of Valiesar  and the Treaty of Kardis . The Russian war with Poland-Lithuania on the other hand resumed in 1658.
Question: Which came first, the Treaty of Labiau or the Treaty of Radnot?


Output: span