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.

Example Input: Passage: Politically, Portsmouth is a center of liberal politics and stronghold for the Democratic Party. In 2016, Portsmouth voted 67.70% for Hillary Clinton in the United States presidential election, 2016, 62.53% for Colin Van Ostern in the New Hampshire gubernatorial election, 2016, 64.48% for Maggie Hassan in the United States Senate election in New Hampshire, 2016, and 62.16% for Carol Shea-Porter in the United States House of Representatives elections in New Hampshire, 2016. In 2014, Portsmouth voted 70.05% for Maggie Hassan in the New Hampshire gubernatorial election, 2014, 67.34% for Jeanne Shaheen in the United States Senate election in New Hampshire, 2014, and 68.34% for Carol Shea-Porter in the United States House of Representatives elections in New Hampshire, 2014. In 2012, Portsmouth voted 67.56% for Barack Obama in the United States presidential election, 2012, 70.16% for Maggie Hassan in the New Hampshire gubernatorial election, 2012, and 68.50% for Carol Shea-Porter in the United States House of Representatives elections in New Hampshire, 2012.
Example Output: Did Carol Shea-Porter get more votes in 2016 or in 2014 when she ran for the United States House of Representatives?

Example Input: Passage: Following World War II, Britain retained control of both British Somaliland and Italian Somaliland as protectorates. In 1950, as a result of the Paris Peace Treaties, the United Nations granted Italy trusteeship of Italian Somaliland, but only under close supervision and on the condition—first proposed by the Somali Youth League  and other nascent Somali political organizations, such as Hizbia Digil Mirifle Somali  and the Somali National League —that Somalia achieve independence within ten years. British Somaliland remained a protectorate of Britain until 1960. In 1948, under pressure from their World War II allies and to the dismay of the Somalis, the British returned the Haud  and the Ogaden to Ethiopia, based on a treaty they signed in 1897 in which the British, French and Italians agreed upon the territorial boundaries of Ethiopia with the Ethiopian Emperor Menelik in exchange for his help against raids by hostile clans. Britain included the provision that the Somali residents would retain their autonomy, but Ethiopia immediately claimed sovereignty over the area. This prompted an unsuccessful bid by Britain in 1956 to buy back the Somali lands it had turned over. Britain also granted administration of the almost exclusively Somali-inhabited Northern Frontier District  to Kenyan nationalists despite an informal plebiscite demonstrating the overwhelming desire of the region's population to join the newly formed Somali Republic.
Example Output: British Somaliland remained a protectorate of Britain for how many years after the Paris Peace Treaties?

Example Input: Passage: In 1745 three of the greatest battles of the war occurred: Hohenfriedberg, Kesselsdorf and Fontenoy. The formation of the Quadruple Alliance of Britain, Austria, the Dutch Republic and Saxony was concluded at Warsaw on 8 January 1745 by the Treaty of Warsaw. Twelve days later on 20 January 1745, the death of the Holy Roman Emperor, Charles VII, submitted the imperial title to a new election. Charles VII's son and heir, Maximilian III of Bavaria, was not even considered a candidate for the Imperial throne. The Bavarian army was again unfortunate. Caught in its scattered winter quarters , it was driven from point to point by a maneuver by the Austrian army under the joint command of Count Batthyány, Baron Bernklau and Count Browne. All Bavarian garrisons fled to the east. The Bavarian Army under the command of Count Törring was divided and paralyzed. The French in the area under Count Ségur marched to save the day. Count Sègur's force out-numbered the Austrian army under Count Batthyany, yet Sègur and the French army were defeated at the Battle of Pfaffenhofen. The young elector Maximilian III had to abandon Munich once more. The Peace of Füssen followed on 22 April 1745, by which Maximilian III secured his hereditary states on condition of supporting the candidature of the Grand-Duke Francis, consort of Maria Theresa. The "imperial" army ceased ipso facto to exist.
Example Output:
How many countries were in the Quadruple Alliance?