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

Ex Output:
11.


Ex Input:
Passage: King Henry II of England died on 6 July 1189 after a surprise attack by his son Richard the Lionheart and King Philip II. Richard inherited the crown and immediately began raising funds for the crusade. In the meantime, some of his subjects departed in multiple waves by sea. Some of them together with contingents from the Holy Roman Empire and France conquered the Moorish city of Silves in Iberia during the summer of 1189, before continuing to the Holy Land. In April 1190, King Richard's fleet departed from Dartmouth under the command of Richard de Camville and Robert de Sablé on their way to meet their king in Marseille. Parts of this fleet helped the Portuguese monarch Sancho I defeat an Almohad counterattack against Santarém and Torres Novas, while another group ransacked Christian Lisbon, only to be routed by the Portuguese monarch. Richard and Philip II met in France at Vézelay and set out together on 4 July 1190 as far as Lyon where they parted after agreeing to meet in Sicily; Richard with his retinue, said to number 800, marched to Marseille and Philip to Genoa. Richard arrived in Marseille and found that his fleet had not arrived; he quickly tired of waiting for them and hiring ships, left for Sicily on 7 August, visiting several places in Italy en route and arrived in Messina on 23 September. Meanwhile, the English fleet eventually arrived in Marseille on 22 August, and finding that Richard had gone, sailed directly to Messina, arriving before him on 14 September. Philip had hired a Genoese fleet to transport his army, which consisted of 650 knights, 1,300 horses, and 1,300 squires to the Holy Land by way of Sicily. 
Question: How many days did it take Richard to travel from Marseille to Messina? 
Answer type: Number 

Ex Output:
47.


Ex Input:
Passage: The Steelers traveled to Chicago to take on the Bears. In the first quarter, the Bears scored first when Jordan Howard ran for a 3-yard touchdown to take a 7-0 lead for the only score of the quarter. In the second quarter, the Steelers managed to tie it up at 7-7 when Ben Roethlisberger found Antonio Brown on a 7-yard pass. The Bears moved ahead by double digits later on when Mike Glennon found Adam Shaheen on a 2-yard pass to make it 14-7. This would be followed up by Connor Barth's 24-yard field goal to make it 17-7 at halftime. After the break, the Steelers got back to work and came within 3 as Le'Veon Bell ran for a 1-yard touchdown to make it 17-14. They would tie the game up in the fourth quarter when Chris Boswell nailed a 32-yard field goal. The Steelers then tried their hand at coming back for the win later on in the quarter, but Roethlisberger was sacked in Bears territory, sending the game into overtime. In overtime, the Bears got the ball. They would win it by way of Howard's 19-yard run for a touchdown and the final score 23-17. With the loss and 9-game regular season winning streak snapped, the Steelers dropped to 2-1 and with the Ravens' loss to the Jaguars moved into a tie on top of the AFC North. The loss was the Steelers' third straight against the Bears, and dropped the Steelers to a record of 1-12 all-time against the Bears in Chicago. 
Question: How many points were scored in the first half? 
Answer type: Number 

Ex Output:

24.