Input: He was the Speaker of the Parliament extraordinary held in Warsaw on 3 December to 24 December 1613. During the war with Sweden and the fought in Livonia winning to the Swedish army at Kroppenhof, Lixna, Slavskoye and Dyneburg. It is because of fighting with the Swedes until 1629, he was appointing Palatine-Governor of Smolensk region, but the nomination was already in 1625. Seeing the threat from Russia, Gosiewski immediately upon taking the governorate of Smolensk began to renovate the walls of the city. He personally oversaw the construction of Sigismund Fortress, which strengthened the eastern part of the stronghold. Intensively collected supplies of food and ammunition, and developed a business intelligence gathering valuable information about Moscow's war preparations. In the spring of 1632, he made review the fortifications in Dorogobuzh and other frontier forts. During the war with Russia, in the year 1632 and 1634 after a particularly famous defense of Smolensk - for ten months he defended the city against besieging forces led by Mikhail Shein, repelling all assaults, until the advent of the battle led by Prince Wadysaw. He fought at Vitebsk, Alder and Mstislav. He participated as a Commissioner in peace negotiations, topped the conclusion on 14 June 1634, in Treaty of Polanow. For his services, he received numerous goods in the province of Smolensk. He founded the Jesuits' College in Vitebsk and the female Monastery of the Holy Brigit at Brest-Litovsk.As Palatine-Governor, he commemorated the death of his longtime client - Jan Kunowski, who in 1640 wrote a series of poems dedicated to his late patron.

Question: How many places was the Swedish army defeated during the war with Sweden?

Input: Hoping to rebound from their home loss to the Broncos, the Titans flew to Cowboys Stadium for a Week 5 interconference duel with the Dallas Cowboys. Tennessee delivered the opening punch in the first quarter as quarterback Vince Young completed a 24-yard touchdown pass to wide receiver Nate Washington, followed by kicker Rob Bironas making a 52-yard field goal. Afterwards, the Cowboys answered with kicker David Buehler getting a 51-field goal. In the second quarter, the Titans would add onto their lead as Young connected with wide receiver Kenny Britt on a 12-yard touchdown pass. Dallas came right back with quarterback Tony Romo completing a 6-yard touchdown pass to wide receiver Roy Williams. The Cowboys tied the game in the third quarter as Romo threw a 69-yard touchdown pass to wide receiver Miles Austin, yet Tennessee regained the lead as Bironas booted a 40-yard field goal. In the fourth quarter, Dallas caught up again as Buehler kicked a 26-yard field goal. Afterwards, the Titans struck back as running back Chris Johnson got a 1-yard touchdown run. However, the Cowboys would tie the game again as Romo connected with tight end Jason Witten on an 18-yard touchdown pass. Fortunately, Tennessee came right back as Johnson got another 1-yard touchdown run.

Question: Which player caught the fourth longest touchdown pass?

Input: As of the census of 2000, there were 478,403 people, 190,638 households, and 111,904 families residing in the city. The population density was . There were 215,856 housing units at an average density of . The racial makeup of the city was 51.0% African American, 41.5% White American, 0.3% Native American, 1.3% Asian American, 0.0% Pacific Islander American, 3.6% from other races, and 2.2% from Multiracial American. Hispanic or Latino Americans of any race were 7.3% of the population. Ancestry (United States Census) include German Americans (15.2%), Irish American (10.9%), English American (8.7%), Italian American (5.6%), Polish American (3.2%), and French American (3.0%). Out of the total population, 4.5% were foreign born; of which 41.2% were born in Europe, 29.1% Asia, 22.4% Latin American, 5.0% Africa, and 1.9% Northern America.

Question: Was a larger percentage of the foreign born population born in Europe or Asia?

Input: Of 3,142 counties in the United States in 2013, Clay County ranked 3,137 in the longevity of female residents and 3,109 in the longevity of male residents. Males in Clay County lived an average of 68.6 years and females lived an average of 73.6 years compared to the national average for longevity of 76.5 for males and 81.2 for females. Moreover, the average longevity in Clay County declined by 0.4 years for males and 3.4 years for females between 1985 and 2013 compared to a national average for the same period of an increased life span of 5.5 years for men and 3.1 years for women. High rates of smoking and obesity and a low level of physical activity appear to be contributing factors to the lowered longevity for both sexes.

Question:
How many counties ranked lower than Clay County in the longevity of female residents?