Input: After the War of the Spanish Succession in the early 18th century, possession of the kingdom again changed hands. Under the terms of the Treaty of Rastatt in 1714, Naples was given to Charles VI, the Holy Roman Emperor. He also gained control of Sicily in 1720, but Austrian rule did not last long. Both Naples and Sicily were conquered by a Spanish army during the War of the Polish Succession in 1734, and Charles, Duke of Parma, a younger son of King Philip V of Spain was installed as King of Naples and Sicily from 1735. When Charles inherited the Spanish throne from his older half-brother in 1759, he left Naples and Sicily to his younger son, Ferdinand IV. Despite the two Kingdoms being in a personal union under the Habsburg and Bourbon dynasts, they remained constitutionally separate. Being a member of the House of Bourbon, Ferdinand IV was a natural opponent of the French Revolution and Napoleon. In 1798, he briefly occupied Rome, but was expelled from it by French Revolutionary forces within the year. Soon afterwards Ferdinand fled to Sicily. In January 1799 the French armies installed a Parthenopaean Republic, but this proved short-lived, and a peasant counter-revolution inspired by the clergy allowed Ferdinand to return to his capital. However, in 1801 Ferdinand was compelled to make important concessions to the French by the Treaty of Florence, which reinforced France's position as the dominant power in mainland Italy.

Question: How many years into his reign as King of Naples and Sicily did Ferdinand IV occupy Rome?


Input: The Seahawks began their season at home for an NFC West rivalry against the San Francisco 49ers. In the first quarter, Seattle trailed early when 49ers kicker Joe Nedney made a 23-yard field goal, which was extended in the second quarter when Nedney made another 23-yard field goal. Then, the Seahawks fought back and took the lead when quarterback Matt Hasselbeck got a 1-yard touchdown run, followed by him making a 13-yard touchdown pass to wide receiver Deon Butler. In the third quarter, Seattle continued to dominate when cornerback Marcus Trufant returned an interception and ran 32 yards for a touchdown. This was followed by Hasselbeck's 3-yard TD pass to wide receiver Deion Branch. In the fourth quarter, the Seahawks scored again when kicker Olindo Mare made a 35-yard field goal.

Question: Which team allowed the most points in the first half?


Input: Coming off their hard-fought win over the Ravens, the Broncos traveled to Arrowhead Stadium for an AFC West duel with the Kansas City Chiefs on Thursday Night Football. There was no scoring in the first quarter, which included cornerback David Bruton forcing a fumble off Chiefs' running back Jamaal Charles at the Broncos' 6-yard line. The Chiefs grabbed the lead early in the second quarter, with Charles rushing for a 34-yard touchdown, then added to their lead, when cornerback Marcus Peters returned an interception off Broncos' quarterback Peyton Manning 55 yards for a touchdown. The Broncos responded with two touchdown passes by Manning &#8212; a 16-yarder to wide receiver Emmanuel Sanders followed by a 1-yard juggling touchdown catch by tight end Virgil Green just before halftime. The latter scoring play came after Chiefs' quarterback Alex Smith was intercepted by cornerback Aqib Talib deep in Chiefs' territory. That was Talib's 2nd pick in as many weeks. The two teams exchanged field goals in the third quarter &#8212; a 35-yarder by Chiefs' placekicker Cairo Santos and a 54-yarder by Broncos' placekicker Brandon McManus. Following an exchange of punts, the Chiefs were attempting to re-claim the lead midway through the fourth quarter, when Smith was intercepted by cornerback Chris Harris, Jr. at the Broncos' 10-yard line with 6:40 remaining. However, the Broncos went three-and-out, and were forced to punt. The Chiefs took a 24-17 lead six plays later, with running back Knile Davis rushing for an 8-yard touchdown with 2:27 left in the game. Manning then engineered a 10-play, 80-yard drive, culminating in a 19-yard touchdown pass to Sanders with 36 seconds left. The game appeared to be headed to overtime, however, on the initial play of the Chiefs' ensuing possession, Broncos' linebacker Brandon Marshall forced a fumble off Charles deep in Chiefs' territory, and cornerback Bradley Roby returned the fumble 21 yards for a touchdown with 27 seconds in the game. The Broncos' defense subdued the Chiefs' last drive.

Question: Which player had the longest field goal of the game?


Input: Erard and Philippa landed in France in January 1216.  On their journey to Le Puy-en-Velay, Erard was arrested by agents of the king of France but managed to escape and get to Champagne.  Erard and his supporters took up a position in Noyers, which Blanche of Navarre then besieged in April 1216.  That same month Erard accepted a truce and submitted the matter to the king of France for arbitration. In July 1216, King Philip II finally heard Erard's suit at Melun, but ruled in Blanche's favor due to the overwhelming evidence she provided:  the barons of the realm had sworn to support Theobald III should Henry II not return from the Holy Land, Theobald III had done homage to the king in 1198, Blanche had done homage to the king in 1201, and Theobald IV himself had made an innovative "anticipatory homage" in 1214.  Blanche even provided numerous letters patent, bearing the seals of the barons who had sworn homage.  Philip II ordained that the barons await the majority of Theobald IV and his assumption of his rights as Count .  Philip II ordered Erard and the barons to seal their own letters patent confirming the court's decision and promising to observe a truce.

Question:
How many kings are mentioned?