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 Mataram conquest of Surabaya or Mataram-Surabaya War was a military campaign by the Sultanate of Mataram in the early 17th century that resulted in the capture of the Duchy of Surabaya  and its allies in eastern Java, in modern-day Indonesia. Prior to this conquest, Mataram and Surabaya were rivals for power in central and eastern Java. The campaign began in 1614 when Mataram, under the leadership of Sultan Agung, attacked Surabaya's allies, including Wirasaba. Surabaya and its allies launched a counterattack but were defeated near Pajang in 1616. Over the next few years, Mataram gradually conquered members of the Surabayan alliance, and by 1620, the city of Surabaya itself was under siege, holding out until it surrendered in 1625. With this conquest, Mataram unified most of central and eastern Java under its control, and cemented its position as the dominant power in Java. Surabaya and other conquered areas would remain in Mataram's hands until it was ceded to the Dutch East India Company in 1743. 
Question: How many years from the beginning of Mataram's campaign did it take for the city of Surabaya to surrender? 
Answer type: Number 

Output: 11.


Input: Consider Input: Passage: Hoping to rebound from their embarrassing home loss to the Lions, the Raiders flew to Invesco Field at Mile High for an AFC West duel with the Denver Broncos.  In the first quarter, Oakland trailed early as Broncos QB Jay Cutler completed a 9-yard TD pass to WR Brandon Stokley for the only score of the period.  In the second quarter, the Raiders got on the board with kicker Sebastian Janikowski getting a 38-yard field goal.  However, Denver continued to pound away as RB Cecil Sapp got a 4-yard TD run, while kicker Jason Elam got a 23-yard field goal. In the third quarter, Oakland began to come back as QB Josh McCown (who was a gametime decision heading into the game) completed a 46-yard TD pass to WR Jerry Porter for the only score of the period.  In the fourth quarter, the Raiders took the lead as DT Gerard Warren sacked Cutler in the end zone for a safety, while LB Thomas Howard returned an interception 44 yards for a touchdown (followed by a successful two-point conversion pass from McCown to WR Ronald Curry).  However, the Broncos tied the game up with Elam's 20-yard field goal.  In overtime, Oakland managed to make Denver go three-and-out on their first possession.  A 33-yard run by RB LaMont Jordan helped set up Janikowski for a game-winning 52-yard field goal. Broncos head coach Mike Shanahan called timeout before the kick could begin.  Janikowski's second try hit off the very tip of the left goal post and was no good, giving Denver a chance to win the game.  The Broncos won with Elam getting a 23-yard field goal. With the loss, not only did the Raiders fall to 0-2, but they had lost 11-straight games (currently the NFL's longest losing streak) dating back to Week 9 of the 2006 season. 
Question: How many field goals did Elam kick in OT? 
Answer type: Number 

Output: 1.


Input: Consider Input: Passage: On 22 December the Pretender landed in Scotland at Peterhead, but by the time he arrived at Perth on 9 January 1716, the Jacobite army numbered fewer than 5,000. In contrast, Argyll's forces had acquired heavy artillery and were advancing quickly. Mar decided to burn a number of villages between Perth and Stirling, so as to deprive Argyll's army of supplies. On 30 January Mar led the Jacobites out of Perth; on 4 February the Pretender wrote a farewell letter to Scotland, sailing from Montrose the following day. Many Jacobites who were taken prisoner were tried for treason and sentenced to death. The Indemnity Act of July 1717 pardoned all those who had taken part in the Rising, but the whole of the Clan Gregor, including Rob Roy MacGregor, was specifically excluded from the benefits of that Act. Another attempt, this time with Spanish support, was undertaken in 1719, only to end again in defeat in the Battle of Glenshiel. James's son Charles Edward Stuart attempted to win the throne for his father in 1745, in another Jacobite rising, but was defeated at the Battle of Culloden. James died in 1766. 
Question: How many days after the Pretender arrived at Peterhead did it sail from Montrose? 
Answer type: Number 


Output: 44.