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 Q]: Passage: In 1665, Charles II became the last male Habsburg King of Spain; suffering from ill-health all his life, his death was anticipated almost from birth and his successor debated for decades. In 1700, the Spanish Empire included possessions in Italy, the Spanish Netherlands, the Philippines and the Americas; while no longer the dominant power, it proved remarkably resilient and remained largely intact. Acquisition of an undivided Empire by the Habsburgs or Bourbons would change the balance of power and the conflict ultimately involved much of Europe. In making dynastic claims secondary, the war marks a key point in the development of the nation state. It was also the last of Louis XIV's wars to establish defensible borders and French supremacy in Europe, the most recent being the 1688-1697 Nine Years' War when France was unable to defeat the Grand Alliance. The 1697 Treaty of Ryswick was driven by mutual exhaustion and the recognition by Louis that he needed allies for a war over the Succession. Emperor Leopold initially refused to sign the Treaty since it left this issue unresolved; he reluctantly did so in October 1697 but most viewed Ryswick as only a pause in hostilities.
[EX A]: France and Spain signed the Treaty of Ryswick due to what reasons?

[EX Q]: Passage: In 2007-2008, Sun posted revenue of $13.8 billion and had $2 billion in cash. First-quarter 2008 losses were $1.68 billion; revenue fell 7% to $12.99 billion. Suns stock lost 80% of its value November 2007 to November 2008, reducing the companys market value to $3 billion. With falling sales to large corporate clients, Sun announced plans to lay off 5,000 to 6,000 workers, or 15-18% of its work force. It expected to save $700 million to $800 million a year as a result of the moves, while also taking up to $600 million in charges.
[EX A]: How many billion did Sun's revenue fall by in the first quarter of 2008?

[EX Q]: Passage: In the city, the year 2010 population was spread out with 26.3% under the age of 18, 13.6% from 18 to 24, 30.7% from 25 to 44, 21.1% from 45 to 64, and 7.2% who were 65 years of age or older. The median age was 32 years. For every 100 females, there were 92.5 males. For every 100 females age 18 and over, there were 88.4 males.
[EX A]:
How many age groups each made up less than 20% of the city population?