This task involves creating questions from a given passage that involve some kind of complex reasoning (including numerical reasoning). 
The generated questions must require looking at more than one part of the passage to answer. Try to use a variety of reasoning types in your questions (some of the sample reasoning types are illustrated in the 'positive examples' field) and also have a variety of answer types (spans, numbers, dates). A span is a continuous phrase taken directly from the passage or question. In such questions, the answer spans are recommended to be five words. Questions with answer type "number", are expected to start with "How many". For instance, "How long did an event last?" can be phrased as "How many years did an event last?". To increase diversity, try to create more questions for which the answer will be multiple spans. Please create questions that require AT LEAST 2 arithmetic operations as illustrated in the 'positive examples' field. You are encouraged to try DIFFERENT COMBINATIONS of operations and not just limit to the combinations shown in those examples. The more challenging questions you create, the better it is.

Ex Input:
Passage: In the meantime Flanders was again at war with the Count of Holland. John II, Count of Holland since 1299, also ruled over the County of Hainaut and the County of Zeeland, and was part of the House of Avesnes, the hereditary enemy of the Flemish House of Dampierre. Zealand had been contested between the Count of Flanders and the Count of Holland since the early 11th century and had become part of Holland by 1076. The Flemish invaded Hainaut in 1302 and conquered Lessines. Guy of Namur, son of the Count of Flanders, formed a fleet at Sluis and sailed on 23 April 1303 to claim Zeeland for the Flemish. After some initial successes, Guy was defeated on 10 and 11 August 1304 in the Battle of Zierikzee by a combined Franco-Hollandic fleet under Rainier Grimaldi, who had been sent by Philip IV of France to aid the Count of Holland. Guy of Namur was captured and Zeeland remained firmly in the hands of the Count of Holland. One week after this naval battle, on 18 August Philip IV himself fought the Flemish main army at the Battle of Mons-en-Pévèle. This hard fought battle was inconclusive, but the death of William of Jülich and the serious material losses of the Flemish, made them sue for peace. After further minor battles, eventually the Treaty of Athis-sur-Orge was signed on 23 June 1305 which recognized Flemish independence, but at the cost of the cities of Lille, Douai and Orchies, which were transferred to France, and the paying of exorbitant fines to King Philip IV.

Ex Output:
How many cities did the Flemish lose as a result of signing the Treaty of Athis-sur-Ogre?


Ex Input:
Passage: The index reached a relative intraday high—which was not exceeded for over seven years—of 1,552.87, on March 24, 2000, during the dot-com bubble. The index then declined by approximately 50%, to 768.63, on October 10, 2002, during the stock market downturn of 2002. On May 30, 2007, the S&P 500 closed at 1,530.23, to set its first all-time closing high in more than seven years. Although the index achieved a new all-time intraday high on October 11, 2007, at 1,576.09, following a record close of 1,565.15 on October 9, the index finished 2007 at 1,468.36 points—just below its 1999 annual close. Less than a month later, it dropped to 1,400, and would not see similar levels again for five years.

Ex Output:
How many points had the index gained from October 10, 2002 to October 11, 2007?


Ex Input:
Passage: The surrender of Candia ended the four and a half centuries of Venetian rule in Crete, and brought the Ottoman Empire to its temporary territorial zenith. At the same time, the cost and casualties incurred during this prolonged war contributed greatly to the decline of the Ottoman state during the latter 17th century. On the other hand, Venice had lost its greatest and most prosperous colony, its pre-eminent trading position in the Mediterranean had diminished, and its treasury was exhausted, having spent some 4,253,000 ducats on the defense of Candia alone. To all this, the Dalmatian gains were insufficient compensation. Upon his return to Venice in 1670, Morosini was tried on charges of insubordination and treason, but was acquitted. Fifteen years later, he would lead the Venetian forces in the Morean War, where the Republic attempted, for the last time, to reverse its losses and reestablish itself as one of the major powers of the Eastern Mediterranean. During that war, in 1692, a Venetian fleet attempted to retake Candia, but failed. The last Venetian strongholds off Crete fell in the last Turkish-Venetian War in 1715. Crete would remain under Ottoman control until 1897, when it became an autonomous state. The island continued under nominal Ottoman suzerainty until the Balkan Wars. In their aftermath, the Ottoman Sultan dropped any claim on the island, and on 1 December 1913 it was formally united to Greece. Following the fall of Candia, fears rose that the Ottomans would attack Malta. In 1670, the Order of St. John began to improve the island's defences with the construction of the Cottonera Lines and Fort Ricasoli.

Ex Output:

Crete  was formally united to Greece how many years after the last Turkish-Venetian War?