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: Crimean Khan Haji Giray, learning of the defeat of the Budjak Tatars gathered 10,000-12,000 men and went against Kunitsky. At the end of December Kunitsky with 10,000-12,000 Cossacks and Moldavians left Budjak and began to cross the Prut River near the village of Tobak, not far from the town of Reni, Ukraine. Here on 30 December they were suddenly attacked by Tatar cavalry under Khan Haji Giray. Kunitsky built a fortified camp and successfully repelled the Tatar attacks. On the night of 3 to 4 January 1684 the Moldavian allies betrayed the Cossacks and left the Cossack camp. In this situation Kunitsky with the Cossack cavalry  broke through the enemy ring and crossed the Prut. The Cossack infantry  under Andrey Mogila also broke out and crossed the Prut near Boyanova, but suffered heavy losses. By 10 January only five thousand Cossacks reached Jassy.

Ex Output:
How many days after the Cossacks and Moldavians were attacked by Tatar calalry under Khan Haji Giray did the Moldavian allies betray the Cossacks?


Ex Input:
Passage: The War of the Spanish Succession  was a European conflict of the early 18th century, triggered by the death of the childless Charles II of Spain in November 1700. His closest heirs were members of the Austrian Habsburg and French Bourbon families; acquisition of an undivided Spanish Empire or Monarchy by either threatened the European balance of power. Charles left his throne to Louis XIV's grandson Philip who was proclaimed King of Spain on 16 November 1700. Disputes over the separation of the Spanish and French crowns, division of territories and commercial rights led to war in 1701 between the Bourbons of France and Spain and the Grand Alliance, whose candidate was Archduke Charles, younger son of Habsburg Emperor Leopold. By 1710, fighting was deadlocked; Allied victories in Italy and the Low Countries had driven the French back to their borders but they could not achieve a decisive breakthrough while Philip was secure in Spain. When Archduke Charles succeeded his brother Joseph I as Emperor in 1711, Britain effectively withdrew, forcing its Allies to make peace and leading to the 1713 Treaty of Utrecht, followed in 1714 with Rastatt and Baden. Philip was confirmed as King of Spain and renounced the French throne; Spain retained the bulk of its pre-war territories outside Europe with their European territories divided between Austria, Britain and Savoy. Longer term impacts included Britain's emergence as the leading maritime and commercial power, the beginning of the decline of the Dutch Republic, the creation of a centralised Spanish state and the acceleration of the break-up of the Holy Roman Empire.

Ex Output:
How many countries had territories divided with Spain?


Ex Input:
Passage: However, due to the U.S. Army's recent reorganization, only 4th Squadron remains in active service. 4th Squadron, 10th Cavalry takes its history and lineage from D Troop, 10th Cavalry. In 2000, D Troop, 10th U.S. Cavalry, was reactivated and assigned as the brigade reconnaissance troop for 3rd Brigade Combat Team, 3rd Infantry Division at Fort Benning, Georgia. D Troop, 10th Cavalry was deployed with 3/3 ID to Iraq in 2003, and was deactivated upon redeployment in 2004. It was reactivated in October 2007 at Fort Carson, Colorado, replacing the 2nd Squadron, 9th Cavalry regiment, as the 4th Squadron, 10th Cavalry Regiment with A, B, C, and HQ Troops as the reconnaissance squadron for 3rd Combat Brigade Team  of the 4th Infantry Division. The 4th Squadron deployed to Iraq with the BCT from December 2007 to February 2009, and again in March 2010. The Squadron deployed to Jordan in 2015 in support of Operation Spartan Shield. In February 2016, Delta  Tank Company from 1st Battalion, 8th Infantry Regiment moved to 4th Squadron, 10th Cavalry Regiment to be assigned as Dakota Troop. As of February 2016, 4th Squadron, 10th Cavalry Regiment is the only current active unit of the 10th Cavalry Regiment.

Ex Output:

How many months was the 4th Squadron deployed to Iraq with the BCT?