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: Following their loss to the Eagles, the Cowboys wrapped up the regular season at home against the 2-13 Detroit Lions. In the first quarter, Dallas shockingly trailed early as Lions kicker Jason Hanson nailed a 33-yard and a 25-yard field goal, while QB Jon Kitna completed a 20-yard TD pass to WR Roy Williams. In the second quarter, the Cowboys took the lead with RB Marion Barber getting a 1-yard TD run, while QB Tony Romo completed a 6-yard TD pass to WR Patrick Crayton. However, Detroit regained its lead with Kitna and Williams hooking up with each other again on a 15-yard TD pass. In the third quarter, the back-and-forth battle began with Dallas CB Terence Newman returning a punt 56 yards for a touchdown. However, the Lions regained the lead with Hanson kicking a 26-yard field goal, while Kitna completed a 13-yard TD pass to WR Mike Furrey. Afterwards, Cowboys kicker Martin Gramatica helped Dallas with a 39-yard field goal. In the fourth quarter, the Cowboys took the lead with Romo completing a 56-yard TD pass to WR Terrell Owens. However, Detroit regained the lead with Kitna completing a 21-yard TD pass to WR Mike Williams and Hanson kicking a 23-yard field goal. Late in the game, Dallas had one last chance to take back the lead, but on 4th & Goal, Romo's run towards the endzone was stopped one yard short. With the shocking loss, the Cowboys ended the regular season at 9-7 and with the NFC's #5 seed.Stats The Cowboys secured a playoff berth after the Minnesota Vikings lost to the New York Jets and the Carolina Panthers lost to the Pittsburgh Steelers. Their season ended after a 21-20 loss. Entering the NFC playoffs as the fifth-seed, the Cowboys began their playoff run at Qwest Field against the fourth-seeded Seattle Seahawks. In the first quarter, both teams started off even as Seahawks kicker Josh Brown nailed a 23-yard field goal, while Martin Gramatica helped Dallas with a 50-yard field goal. In the second quarter, Seattle retook the lead with Brown kicking a 30-yard field goal. Dallas got the lead before halftime as QB Tony Romo completed a 13-yard TD pass to WR Patrick Crayton. In the third quarter, the Seahawks retook the lead as QB Matt Hasselbeck completed a 15-yard TD pass to TE Jerramy Stevens. Following Seattle's TD drive, the Cowboys retook the lead with rookie WR Miles Austin returning a kickoff 93 yards for a touchdown. In the fourth quarter, Dallas increased its lead with Gramatica kicking a 29-yard field goal. However, the Seahawks came back to retake the lead with a safety coming off a Terry Glenn fumble from Seattle CB Kelly Jennings, along with Hasselbeck completing a 37-yard TD pass to Stevens (followed up with a failed 2-point conversion). Dallas managed to put themselves in a position to retake the lead, but on the 19-yard field goal try Romo botched the hold. He picked up the loose ball and attempted to run with it, but was tackled at Seattle's two-yard line by Jordan Babineaux thus turning the ball over on downs. On the ensuing possession, Hasselbeck then handed the ball off four times before the Seahawks were forced to punt. With only 2 seconds left, Romo threw a Hail Mary pass to the Seattle end zone that fell incomplete, ending the Cowboys' season and leaving the franchise still without a playoff win since 1996.Stats With the loss, Dallas ended its season with three-straight losses and an overall record of 9-8.
Question: Which player threw the first touchdown pass of the game?

Output: span

Input: Consider Input: Passage: Frederick had been King of Jerusalemand as such claimed suzerainty over Cyprusin right of his wife Isabella II until her death in 1228. That year he arrived first in Cyprus, where he antagonised the nobles, and then in Jerusalem, where he stayed until 1229, leaving in humiliating circumstances after having produced an anti-imperialist reaction in the people. In 1231 he sent Riccardo Filangieri as his marshal. His attempt to assert his authority was opposed by John of Ibelin, the Old Lord of Beirut, who had been regent until Frederick's arrival. On John's death in 1236 the war was taken up by his son Balian. In 1239 Philip of Montfort assumed the leadership of the opposition. Though the ecclesiastical hierarchy and the Knights Templar supported the nobility, the Teutonic Knights and Knights Hospitaller supported Filangieri. In general his rights as regent were recognised but his practical power was denied on the basis of the Assizes and the Haute Cour. His headquarters were in Tyre and he had the allegiance of Bohemond V, Prince of Antioch and Count of Tripoli. He also held the Holy City of Jerusalem itself, which had been negotiated away from the Saracens by Frederick. So long as the Ibelins controlled the opposition, Filangieri could count on the support of their enemies as well. The Italian cities were also divided between the two factions: Pisa supported Filangieri and Genoa the Ibelins. The Ibelins controlled Beirut, Arsuf, and Caesarea as well as the old capital of Acre. In 1231 the citizens of Acre formed a commune with their headquarters at the church of Saint Andrew's in order to unify their opposition to Filangieri. In 1232 John of Ibelin was elected its mayor.
Question: How many years after the citizens of Acre formed a commune to unify their opposition to Filangieri was John of Ibelin elected its mayor?

Output: number

Input: Consider Input: Passage: Subsequent negotiations led by Jesuit papal legate Antonio Possevino resulted in the 1582 Truce of Jam Zapolski between Russia and the Polish-Lithuanian Commonwealth. This was a humiliation for the Tsar, in part because he requested the truce. Under the agreement Russia would surrender all areas in Livonia it still held and the city of Dorpat to the Polish-Lithuanian Commonwealth, while Polotsk would remain under Commonwealth control. Any captured Swedish territoryspecifically Narvacould be retained by the Russians and Velike Luki would be returned from Batory's control to Russia. Possevino made a half-hearted attempt to get John III's wishes taken into consideration, but this was vetoed by the Tsar, probably in collusion with Batory. The armistice, which fell short of a full peace arrangement, was to last ten years and was renewed twice, in 1591 and 1601. Batory failed in his attempts to pressure Sweden into relinquishing its gains in Livonia, particularly Narva. Following a decision by John, the war with Russia ended when the Tsar concluded the Truce of Plussa with Sweden on 10 August 1583. Russia relinquished most of Ingria but left Narva and Ivangorod under Swedish control. Originally scheduled to last three years, the Russo-Swedish truce was later extended until 1590. During the negotiations, Sweden made vast demands for Russian territory, including Novgorod. Whilst these conditions were probably only for the purposes of negotiation, they may have reflected Swedish aspirations of territory in the region.
Question: How many years did the Russo-Swedish truce last?
Output: number