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.

Input: Consider Input: 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.

Output: France and Spain signed the Treaty of Ryswick due to what reasons?


Input: Consider Input: Passage: In 2006-07 NBA season, Jamess averages declined to 27.3 points, 6.7 rebounds, 6 assists, and 1.6 steals per game. Some analysts attributed the fall to a regression in his passing skills and shot selection, which stemmed from a lack of effort and focus. The Cavaliers finished the season with 50 wins for the second consecutive year and entered the 2007 NBA Playoffs as the Easts second seed. In Game 5 of the NBA Conference Finals, James notched 48 points with 9 rebounds and 7 assists, scoring 29 of Clevelands last 30 points, including the game-winning layup with two seconds left, against the 2006-07 Detroit Pistons season. After the game, play-by-play announcer Marv Albert called the performance "one of the greatest moments in postseason history" and color commentator Steve Kerr described it as "Michael Jordan-esque". In 2012, ESPN ranked the performance the fourth greatest in modern NBA playoff history. The Cavaliers went on to win Game 6 and claim their first-ever Eastern Conference championship, earning them a matchup with the 2006-07 San Antonio Spurs season in the 2007 NBA Finals. During the championship round, James struggled, averaging 22 points, 7.0 rebounds, and 6.8 assists per game on just 35.6 percent shooting, and Cleveland was eliminated in a Whitewash (sport).

Output: How many better performances were there than James in 2012 according to ESPN?


Input: Consider Input: Passage: Tsakhiagiin Elbegdorj, as the chairman of the Democratic Party (Mongolia), co-led the Democratic Union Coalition to its first time historic victory in the Mongolian legislative election, 1996s winning 50 out of 76 parliamentary seats. Democratic Union Coalition of Democratic Party and Social Democratic Party (chairman Tsakhiagiin Elbegdorj) was in power in 1996-2000. Mendsaikhany Enkhsaikhan, election manager of Democratic Union Coalition worked as the Prime Minister from 7 July 1996 to 23 April 1998. In 1998, a clause in the constitution was removed that prohibited members of parliament to take cabinet responsibility. Thus on 23 April 1998, the Parliament elected (61–6) Elbegdorj, chairman of the Democratic Union Coalition and the Majority Group at the Parliament as the Prime Minister. Due to opposition MPRPs demand Elbegdorj lost confidence vote at the Parliament and was replaced by Janlavyn Narantsatsralt (Democratic Party) on 9 December 1998. Janlavyn Narantsatsralt worked as the Prime Minister for eight months until his resignation in July 1999. Rinchinnyamyn Amarjargal became Democratic Partys new chairman and served as the Prime Minister from 30 July 1999 to 26 July 2000.


Output: How many days after Tsakhiagiin Elbegdorj was elected chairman of the Democratic Union coalition was he replaced by Janlavyn Narantsatsralt?