Input: According to the 2011 census Russian citizens are the most numerous foreigners - 11 991, followed by 8 444 EU citizens (UK- 2 605, Greece - 1 253, Germany- 848, Poland - 819 and Italy - 456), citizens of Ukraine - 3 064, Republic of Macedonia - 1 091, Moldova - 893 and Serbia - 569. 22.8% of them are from Asia, mostly from Turkey. Those with dual Bulgarian and other citizenship were 22 152, or 0.3% of the population. Of them persons with Bulgarian and Russian citizenship were 5 257 (23.7%), followed by persons with Bulgarian and Turkish citizenship - 4 282 (19.3%), Bulgarian and citizenship of the USA- 1 725 (7.8%). There are at least 17,527 Refugees of the Syrian Civil War with applications in Bulgaria. In 2001-2015 185,447 people applied for Bulgarian citizenship and 116,222 were provided with. 113,647 were granted on grounds of proven Bulgarian ancestry, including 59,968 Republic of Macedonia citizens. 29,218 were Moldovan citizens, 5930 Ukrainians, 5374 Serbians, 5194 Russians, 3840 Israeli, 2192 Albanians, 692 Turks and others. In 2016, 12,880 foreigners were naturalized, including 6196 Macedonians.

Question: Which citizens were there less than 5000 who belonged to Bulgarian ancestry?


Input: The Portuguese Restoration War  was the name given by nineteenth-century Romantic historians to the war between Portugal and Spain that began with the Portuguese revolution of 1640 and ended with the Treaty of Lisbon in 1668. The revolution of 1640 ended the 60-year Iberian Union. The period from 1640 to 1668 was marked by periodic skirmishes between Portugal and Spain, as well as short episodes of more serious warfare, much of it occasioned by Spanish and Portuguese entanglements with non-Iberian powers. Spain was involved in the Thirty Years' War until 1648 and the Franco-Spanish War until 1659, while Portugal was involved in the Dutch-Portuguese War until 1663. In the seventeenth century and afterwards, this period of sporadic conflict was simply known, in Portugal and elsewhere, as the Acclamation War. The war established the House of Braganza as Portugal's new ruling dynasty, replacing the House of Habsburg. This ended the so-called Iberian Union.

Question: What war did Spain stop being involved with first: Thirty Years' War or Franco-Spanish War?


Input: Starting lineups: HOUSTON - DEFENSE: DE Antonio Smith, DT Shaun Cody, DT Amobi Okoye, DE Mario Williams, LB Brian Cushing, LB Kevin Bentley, LB Darryl Sharpton, CB Glover Quinn, CB Kareem Jackson, SS Bernard Pollard, FS Eugene Wilson. Coming off their bye week the Texans played at Lucas Oil Stadium for an AFC South division rivalry match against the Indianapolis Colts. In the first quarter the Texans trailed early as QB Peyton Manning completed a 2-yard TD pass to TE Jacob Tamme. The Texans struggled further in the 2nd quarter when Matt Schaub's pass was intercepted by CB Kelvin Hayden and returned 25 yards for a touchdown. They soon responded with kicker Neil Rackers nailing a 53-yard field goal. The Texans fell further behind with kicker Adam Vinatieri getting a 48-yard field goal. This was followed in the third quarter by Manning throwing a 15-yard TD pass to WR Reggie Wayne. The Texans' offense broke through with Schaub connecting to WR Andre Johnson on a 28-yard TD pass. The Colts replied with Vinatieri hitting a 23-yard field goal. The Texans tried to fight back but only came away with a touchdown after RB Arian Foster got a 6-yard TD run. The Colts closed the game with Vinatieri making a 36-yard field goal.

Question: who is the colts quarterback?


Input: Coming off their bye week, the Vikings went to Soldier Field for a Week 6 NFC North contest against the Chicago Bears. In the first quarter, Minnesota trailed early as Devin Hester returned a punt 89 yards for a touchdown. The Vikings responded with a 60-yard touchdown pass from Tarvaris Jackson to Troy Williamson. In the second quarter, Chicago's Brian Griese completed a 39-yard touchdown pass to Bernard Berrian. Afterwards, Minnesota answered with a 67-yard touchdown run from Adrian Peterson. In the third quarter, the Vikings took the lead with 73-yard touchdown run from Peterson for the only score of the period. Kickers Ryan Longwell and Robbie Gould traded field goals of 48 and 32 yards to start the fourth quarter, before Peterson scored his third touchdown of the game on a 35-yard run. Chicago tied the game again with Griese completing a 33-yard touchdown pass to Muhsin Muhammad, followed by an 81-yard touchdown pass to Hester. But on the ensuing kickoff, Peterson sprinted all the way down to the Chicago 38-yard line, setting Longwell up for a 55-yard, game-winning field goal. With the win, the Vikings improved to 2-3, largely in part to Peterson's 224 rushing yards, which put him fifth for the most rookie rushing yards in one game. Up to this point, he had a total of 607 rushing yards, which placed him second for the most rookie rushing yards through the first five games, only behind Eric Dickerson. He also broke the NFL record for most all purpose yards in a single game, with 361.

Question:
How many TD pass yards did Griese complete?