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: Pew Research Center indicated that (as of 2014) 21 surveyed countries have a positive view (50% or above) of China. With the top ten most positive countries being Pakistan (78%), Tanzania (77%), Bangladesh (77%), Malaysia (74%), Kenya (74%), Thailand (72%), Senegal (71%), Nigeria (70%), Venezuela (67%), and Indonesia (66%). While ten surveyed countries have the most negative view (Below 50%) of China. With the countries being Japan (7%), Vietnam (16%), Turkey (21%), Italy (26%), Germany (28%), India (31%), Poland (32%), Jordan (35%), United States (35%), and Colombia (38%). Chineses own view of China was viewed at 96%. 
Question: How many less percent of people in Jordan had a positive view of China compared to Malaysia? 
Answer type: Number 

Ex Output:
39.


Ex Input:
Passage: The War of the Limburg Succession, was a series of conflicts between 1283 and 1289 for the succession in the Duchy of Limburg. The cause of the War of the Limburg Succession was the death of Waleran IV, Duke of Limburg in 1280, and his only daughter Ermengarde of Limburg in 1283. Waleran IV had no sons and Ermengarde had no children. Ermergarde had married Reginald I of Guelders, who now claimed the Duchy of Limburg. However, Waleran's nephew Adolf VIII of Berg, son of his elder brother Adolf VII of Berg, also claimed the Duchy. Unable to assert his claims, he sold them in 1283 to the mighty John I, Duke of Brabant. Between 1283 and 1288, several smaller confrontations occurred between both sides, none of them decisive. Meanwhile, most of the other local powers chose sides. Siegfried II of Westerburg, the Archishop of Cologne and ruler of the Electorate of Cologne, traditional enemy of the Duke of Brabant, forged an alliance with Reginald I, joined by Henry VI, Count of Luxembourg, and his brother Waleran I of Luxembourg, Lord of Ligny, as well as by Adolf, King of Germany. On the other side the Counts of Mark took the chance to affirm their independence from the Archbishop of Cologne and together with the Counts of Loon, Tecklenburg, and Waldeck allied with Brabant and Berg. The citizens of the City of Cologne, eager to emancipate themselves from the Archbishop's rule, also joined this alliance. After the decisive Battle of Worringen in 1288, won by Duke John I of Brabant and his allies, the Duchy of Limburg came in the possession of the Duke of Brabant. The City of Cologne gained its independence from the Archbishopric and finally the status of an Imperial city in 1475. 
Question: How many years did the War of Limburg Succession last? 
Answer type: Number 

Ex Output:
6.


Ex Input:
Passage: Philip IV of France became King in 1285, and was determined to strengthen the French monarchy at any cost. The County of Flanders had been formally part of the French Kingdom since the Treaty of Verdun in 843, but had always de facto been largely, if not fully, independent from the French crown. Flanders had some of the richest cities of that time, like Bruges, Ghent, Ypres, Lille and Douai. These cities tried to keep their independence from the Count of Flanders and from the rural aristocracy. But the cities were themselves divided between the rich patricians and the urban tradesmen, united in guilds. In 1288, Philip IV of France used complaints over taxes to tighten his control over Flanders. Tension built between Guy of Dampierre, Count of Flanders and the King. In 1294, Guy turned for help to King Edward I of England, arranging a marriage between his daughter Philippa and Edward, Prince of Wales. However, Philip imprisoned Guy and two of his sons, forced him to call off the marriage, and imprisoned Philippa in Paris until her death in 1306. Guy was summoned before the king again in 1296, and the principal cities of Flanders were taken under royal protection, until Guy paid an indemnity and surrendered his territories, to hold them at the grace of the King. After these indignities, in 1297 Guy attempted to revenge himself on Philip by an alliance with Edward I of England, now at war with France. Philip responded by declaring Flanders annexed to the royal domain and sending a French army under Robert II of Artois to conquer Flanders. 
Question: How many years after Philip imprisoned Guy did Guy attempt to revenge himself on Philip? 
Answer type: Number 

Ex Output:

3.