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.

Input: Consider Input: Passage: The Gdansk merchants had suffered a great deal from the blockade, especially because of lack of trade. In the meantime, Bathory also wanted to end the siege, as Ivan the Terrible of Muscovy broke a three-year truce in the same year and Muscovy tried to gain control of the eastern territories of the Commonwealth . The siege and all economic restrictions that were passed in the past two years were lifted in return for reparations and recognition of Bathory as the sovereign. Stefan forgave the city's rebellion and again turned Polish trade from Elbing to Danzig. The city, in turn, recognized him as ruler of Poland and promised to pay the large sum of 200,000 złotys and an additional 20,000 repatriation to the abbey of Oliwa in five years. On 26 November 1585 the Karnkowski Statutes from 1570 were lifted, and Danzig again became the most privileged city in the Commonwealth. 
Question: How many zlotys did Poland promise to pay Stefan and Oliwa? 
Answer type: Number 

Output: 220000.


Input: Consider Input: Passage: Bangkok is one of the worlds top tourist destinations. Of 162 cities worldwide, MasterCard ranked Bangkok as the top destination city by international visitor arrivals in its Global Destination Cities Index 2018, ahead of London, with just over 20 million overnight visitors in 2017. This was a repeat of its 2017 ranking (for 2016). Euromonitor International ranked Bangkok fourth in its Top City Destinations Ranking for 2016. Bangkok was also named "Worlds Best City" by Travel + Leisure magazines survey of its readers for four consecutive years, from 2010 to 2013. As the main gateway through which visitors arrive in Thailand, Bangkok is visited by the majority of international tourists to the country. Domestic tourism is also prominent. The Department of Tourism recorded 26,861,095 Thai and 11,361,808 foreign visitors to Bangkok in 2010. Lodgings were made by 15,031,244 guests, who occupied 49.9 percent of the citys 86,687 hotel rooms. Bangkok also topped the list as the worlds most popular tourist destinations in 2017 rankings. 
Question: How many Thai and other foreign visitors to Bangkok were there in 2010? 
Answer type: Number 

Output: 38222903.


Input: Consider Input: Passage: Cincinnati scored on its first possession, when Andy Dalton threw to A. J. Green for an 82-yard touchdown. The Lions tied it later in the first quarter on a 3-yard TD pass from Matthew Stafford to Brandon Pettigrew. A 36-yard field goal by David Akers gave the Lions a 10-7 second quarter lead.  But late in the quarter, Akers had a 34-yard field goal attempt blocked by Carlos Dunlap, which the Bengals returned all the way to the Lions 40 yard line despite fumbling during the return. That set up a 12-yard TD strike from Andy Dalton to Marvin Jones just before the first half closed, giving Cincinnati a 14-10 lead. The teams exchanged TD passes in the third quarter. First, Dalton hit Tyler Eifert for a 32-yard TD, and Stafford followed shortly after with a 27-yard TD toss to Calvin Johnson. Mike Nugent connected on a 48-yard field goal late in the third to put the Bengals up 24-17.  The Lions tied the game at 24 in the fourth quarter, when Calvin Johnson leaped up and beat three Bengals defenders in the end zone on a 50-yard pass from Matthew Stafford. After the game, Stafford called Johnson's play "one of the best catches I have ever seen." Late in the fourth quarter, a punt by the Bengals Kevin Huber pinned the Lions at their own 6 yard line. Detroit attempted to kill enough clock to get the game to overtime, but could only gain one first down and 17 yards. Detroit punter Sam Martin then shanked a punt that netted only 28 yards before going out of bounds at the Cincinnati 49 with 26 seconds left in the game. Three plays and 15 yards later, Mike Nugent boomed a 54-yard field goal as time expired to give the Bengals a 27-24 victory. The aerial attack for both teams produced big numbers.  Andy Dalton was 24-of-34 for 372 yards and 3 touchdowns, while Matthew Stafford was 28-of-51 for 357 yards and 3 scores.  A. J. Green of the Bengals and Calvin Johnson of the Lions both tallied 155 yards receiving on the day. 
Question: How many total yards of touchdown passes did Matthew Stafford make? 
Answer type: Number 


Output: 80.