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 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 

Ex Output:
220000.


Ex Input:
Passage: In 1688 the most powerful navies were the French, English, and Dutch; the Spanish and Portuguese navies had suffered serious declines in the 17th century. The largest French ships of the period were the Soleil Royal and the Royal Louis. Each rated for 120 guns, they never carried their full complement. These ships were too large for practical purposes. The former only sailed on one campaign and was destroyed at La Hogue; the latter languished in port until sold in 1694. By the 1680s, French ship-design was at least equal to its English and Dutch counterparts, and by the Nine Years' War the French fleet had surpassed ships of the Royal Navy, whose designs stagnated in the 1690s. Innovation in the Royal Navy, however, did not cease. At some stage in the 1690s, for example, English ships began to employ the steering wheel, greatly improving their performance, particularly in heavy weather. 
Question: How many countries had the most powerful navies? 
Answer type: Number 

Ex Output:
3.


Ex Input:
Passage: San Diego (4-7) led 13-3 with 7:51 remaining in the game before losing 16-13 in overtime to the Baltimore Ravens (9-2). The Ravens faced fourth-and-29 at their own 37 with 1:37 left when running back Ray Rice caught a pass one yard past the line of scrimmage. He ran to the 50-yard line, where he made three Chargers miss with a 90-degree cut to his left. Rice gained the 29 yards needed for a first down after escaping safety Eric Weddle, who received a concussion on the play as he was blocked by wide receiver Anquan Boldin. The Ravens kicked a 38-yard field goal to tie the game at the end of regulation, and made another 38-yarder to win with 1:07 left in overtime. Rivers threw a 21-yard touchdown to Floyd and Novak kicked two field goals for the Chargers' scores. Rivers was sacked six times, but did not have a turnover for only the third time in 11 games; he entered the contest with 14 interceptions and four lost fumbles. The Ravens' fourth-and-29 was the longest fourth-down conversion in the NFL since 2001. It was the third time the Chargers blew a double-digit lead in the second half, including the earlier back-to-back losses to the Saints and Broncos. After being 8-0 under Turner in November from 2009-2010, San Diego fell to 1-7, the second-worst November record in the league since 2011. 
Question: How many yards did the Ravens need to convert on fourth down at the end of the game? 
Answer type: Number 

Ex Output:

29.