This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.

Ex Input:
Passage: The Cincinnati Bengals began their season at Gillette Stadium for an AFC duel with the New England Patriots. In the first quarter, the Bengals trailed early when Patriots quarterback Tom Brady got a 9-yard TD pass to wide receiver Wes Welker, followed by kicker Stephen Gostkowski hitting a 32-yard field goal. In the second quarter, the Bengals struggled further when Brady made a 4-yard TD pass to Wes Welker, followed by linebacker Gary Guyton returning an interception 59 yards for a touchdown. Then, the Bengals made their first score of the half when kicker Mike Nugent nailed a 54-yard field goal. In the third quarter, the Patriots increased their lead when wide receiver Brandon Tate returned the second half's opening kickoff 97 yards for a touchdown. After that, the Bengals replied with quarterback Carson Palmer making a 1-yard TD pass to tight end Jermaine Gresham, followed by Palmer's 28-yard touchdown pass to wide receiver Chad Ochocinco. In the fourth quarter, the Patriots scored again with Brady making a 1-yard TD pass to tight end Rob Gronkowski. The Bengals replied with running back Cedric Benson making a 1-yard TD run, but Cincinnati couldn't get any closer to New England's lead. 
Question: how many yards did brady pass to welker? 
Answer type: Number 

Ex Output:
4.


Ex Input:
Passage: Hoping to rebound from their home loss to the Bears, the Colts flew to the Hubert H. Humphrey Metrodome for a Week 2 interconference duel with the Minnesota Vikings.  In the first half, Indianapolis trailed as Vikings kicker Ryan Longwell got a 45-yard and a 27-yard field goal in the first quarter, along with a 53-yard field goal in the second quarter.  It marked the first time that the Colts got shut out in the first half since October 2006. In the third quarter, Minnesota increased its lead with Longwell nailing a 46-yard and a 28-yard field goal.  Afterwards, Indianapolis started to rally as RB Joseph Addai got a 1-yard TD run.  In the fourth quarter, the Colts drew closer as QB Peyton Manning completed a 32-yard TD pass to WR Reggie Wayne, followed by a 2-point conversion run by RB Dominic Rhodes.  Afterwards, near the end of game, Indianapolis completed its comeback as kicker Adam Vinatieri nailing the game-winning 47-yard field goal. 
Question: How many field goals measuring shorter than 40 yards were made during the game? 
Answer type: Number 

Ex Output:
2.


Ex Input:
Passage: The Lithuanian Civil War of 1432-1438 was a conflict over the succession to the throne of the Grand Duchy of Lithuania, after Vytautas the Great died in 1430 without leaving an heir.  The war was fought on the one side by Švitrigaila, allied with the Teutonic Knights, and on the other by Sigismund Kęstutaitis, backed by the Kingdom of Poland. The war threatened to sever the Union of Krewo, the personal union between Poland and Lithuania. Švitrigaila's alliance with the Grand Master of the Teutonic Order, Paul von Rusdorf, launched the Polish-Teutonic War  but failed to secure victory for Švitrigaila. When Sigismund captured power in Lithuania by staging a coup in 1432, Lithuania split into two opposing camps, and there began three years of devastating hostilities. To prevent the Knights from continuing their support of Švitrigaila, Poland backed a Hussite invasion of Prussia in 1433. The war ended in a decisive defeat for Švitrigaila and his ally, the Livonian branch of the Teutonic Knights, at the Battle of Pabaiskas in September 1435. Švitrigaila eventually surrendered in 1437; Sigismund Kęstutaitis ruled Lithuania for only eight years before he was assassinated in 1440. 
Question: How many years after defeat did it take for Švitrigaila to surrender? 
Answer type: Number 

Ex Output:

Show your work and conclude with the exact phrasing "Therefore, the final answer is [answer]." where [answer] is just the final number or expression that solves the problem.
user
2.


