Input: As of 2008, the French national institute of statistics INSEE estimated that 11.8 million foreign-born immigrants and their direct descendants (limited to second-generation born in France) lived in France representing 19% of the countrys population. More than 5.5 million are of European origin and about 4 million of Maghrebis origin (20% of Algerian origin and 15% of Moroccan or Tunisian origin). Immigrants aged 18 to 50 count for 2.7 million (10% of population age 1850) and 5 million for all ages (8% of population). The second-generation immigrants aged 18 to 50 make up 3.1 million (12% of 1850) and 6.5 million for all ages (11% of population). Without considering citizenship at birth, people not born in metropolitan France and their direct descendants made up 30% of the population aged 1850 in metropolitan France as of 2008.

Question: In the second-generation immigrant population, how many million people are not in the 18 to 50 age group?

Input: The Lions traveled west in week 3 to play their division rival the Green Bay Packers. The Packers got on the board first with a 14-yard touchdown pass from Aaron Rodgers to Davante Adams. The Lions responded with a 42-yard field goal from Matt Prater. Green Bay accumulated a big lead with two touchdown catches by Jordy Nelson for eight and later 17 yards, one by Richard Rodgers from two-yards, as well as a 36-yard field goal from Mason Crosby. Detroit made the halftime score 31-10 after Marvin Jones caught a 17-yard touchdown catch from Matthew Stafford. After the break, the Lions attempted a comeback with touchdown catches by Anquan Boldin and Marvin Jones, from two and 45-yards respectively, as well a 50-yard Prater field goal. Despite only allowing a 46-yard Packers field goal in the second half, the Lions came up short, losing 27-34.

Question: How many touchdown passing yards did Matthew Stafford make in the game total?

Input: The Crimean Khanate broke off from the Golden Horde in 1441. When the Horde came to an end in 1502 the buffer between Crimea and its northern neighbors disappeared. The Khans took advantage of the conflicts between Lithuania and Moscow, allying now with one, then with the other, and using the alliance with one as a justification to attack the other. During the Russo-Lithuanian War of 1500-1506 the Crimeans were allied with Russia and penetrated deep into Lithuania. Relations soon deteriorated. Near continuous raids on Muscovy began in 1507.

Question: Which happened first, the Crimean Khanate breaking off from the Golden Horde or the Horde ending?

Input: Razin's parents were from the village of Usman Sobakina, 8 kilometres outside of Voronezh. He was first noted by history in 1661, as part of a diplomatic mission from the Don Cossacks to the Kalmyks. That same year Razin went on a long-distance pilgrimage to the great Solovetsky Monastery on the White Sea for the benefit of his soul. After that, all trace of him was lost for six years, when he reappeared as the leader of a robber community established at Panshinskoye, among the marshes between the rivers Tishina and Ilovlya, from whence he levied tribute from all vessels passing up and down the Volga. A long war with Poland in 1654-1667 and Sweden in 1656-1658 put heavy demands upon the people of Russia. Taxes increased, as did conscription. Many peasants, hoping to escape these burdens, fled south and joined bands of Razin's marauding Cossacks. They were also joined by many others who were disaffected with the Russian government, including people of the lower classes, as well as representatives of non-Russian ethnic groups such as Kalmyks, that were being oppressed at the time. Razin's first considerable exploit was to destroy the great naval convoy consisting of the treasury barges and the barges of the Patriarch and the wealthy merchants of Moscow. Razin then sailed down the Volga with a fleet of 35 vessels, capturing the more important forts on his way and devastating the country. At the beginning of 1668, he defeated the voivode Yakov Bezobrazov, sent against him from Astrakhan, and in the spring embarked on a predatory expedition into Daghestan and Persia, which lasted for eighteen months.

Question:
How many years did the war with Poland last?