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: King Ottokar II of Bohemia improved fortifications and rebuilt the royal palace for the purposes of representation and housing. In the 14th century, under the reign of Charles IV the royal palace was rebuilt in Gothic style and the castle fortifications were strengthened. In place of rotunda and basilica of St. Vitus began building of a vast Gothic church, that were completed almost six centuries later. During the Hussite Wars and the following decades, the castle was not inhabited. In 1485, King Ladislaus II Jagello began to rebuild the castle. The massive Vladislav Hall  was added to the Royal Palace. New defence towers were also built on the north side of the castle. A large fire in 1541 destroyed large parts of the castle. Under the Habsburgs, some new buildings in Renaissance style were added. Ferdinand I built the Belvedere as a summer palace for his wife Anne. Rudolph II used Prague Castle as his main residence. He founded the northern wing of the palace, with the Spanish Hall, where his precious art collections were exhibited. The Second Defenestration of Prague in 1618 took place at the castle and began the Bohemian Revolt. During the subsequent wars, the Castle was damaged and dilapidated. Many works from  the collection of Rudolph II were looted by Swedes in 1648, in the Battle of Prague  which was the final act of the Thirty Years' War. The last major rebuilding of the castle was carried out by Empress Maria Theresa in the second half of the 18th century. Following his abdication in 1848, and the succession of his nephew, Franz Joseph, to the throne, the former emperor, Ferdinand I, made Prague Castle his home.
Question: What year did the Thirty Years' War begin?

Ex Output:
date


Ex Input:
Passage: The Cowboys' tenth game was an NFC duel with the Lions. In the first quarter the Cowboys pulled ahead with QB Jon Kitna making a 1-yard TD pass to WR Dez Bryant. The Lions replied with kicker Dave Rayner nailing a 47-yard field goal. The Cowboys trailed with QB Shaun Hill making a 9-yard TD pass to WR Nate Burleson, followed by a Penalty on Leonard Davis which was enforced to the endzone for a safety. The Cowboys got the lead back with DB Bryan McCann returning a punt 97 yards for a touchdown, which was followed by Kitna making a 3-yard TD pass to WR Miles Austin. The lead was narrowed with Hill completing a 14-yard TD pass to WR Calvin Johnson. The Cowboys increased their lead with Kitna finding Austin again on a 4-yard TD pass, followed by Kitna's 29-yard scramble to the endzone for a touchdown, which was his longest run of his career. Cowboys interim coach Jason Garrett won his home debut and improved to 2-0 since taking over for Wade Phillips. It's the first time this season Dallas (3-7) has won consecutive games and the first time all season it won at home, having lost the first four.The Lions (2-8) lost their 26th straight on the road, extending a woeful NFL record that began in 2007, when Kitna was their quarterback.Detroit led 12-7 and was consistently stuffing the Cowboys' offense midway through the third quarter when John Wedling jumped over the goal line and tapped a punt back into the field of play.It hopped up waist-high and right to McCann, and the speedster turned it into the second-longest punt return in franchise history - a week after a 101-yard interception return that was the longest in club history. With the win the Cowboys improved to 3-7 on the season.
Question: Who was fired as the Cowboys head coach?

Ex Output:
span


Ex Input:
Passage: The Front refused to officially disclose the number of members that it had. Thurlow suggested that "the most reliable estimates" were those produced by the anti-fascist investigatory magazine Searchlight (magazine). Following its establishment, the NF claimed to have 4000 members in 1968, and in February 1974 a branch chairman claimed that it had 20,000 members. Fielding suggested that it probably had about 21,000 members in early 1975, of whom 6,000 to 8,000 were "paper members" who had not renewed their membership subscriptions but not officially terminated their membership. Searchlight claimed that from its origins with 4,000 members in 1968, the party reached a peak membership of 17,500 in 1972, which had declined to 10,000 in 1979, to 3,148 in 1984, and to 1,000 in January 1985. An estimate of party membership in 1989 put adherents of the Flag Group at about 3,000 and of the Strasserite faction at about 600. Thurlow noted that even at its peak in the 1970s, the Fronts membership was still only half the size of that of the BUF during its 1930s heyday.
Question: Which year did the party less more members, 1972 or 1979?

Ex Output:

date