Input: The causes of the war were rooted in interrelated issues, Florentine opposition to the expansion of the Papal States in central Italy , and antipathy toward the Parte Guelfa in Florence. Specifically, Florence feared in the autumn of 1372 that Gregory XI intended to reoccupy a strip of territory near Lunigiana, which Florence had conquered from Bernabò Visconti, and that the Ubaldini might switch from Florentine to Papal allegiance. Gregory XI also harbored various grievances against Florence for their refusal to aid him directly in his war against the Visconti of Milan. When Gregory XI's war against Milan ended in 1375, many Florentines feared that the pope would turn his military attention toward Tuscany; thus, Florence paid off Gregory XI's main military commander, English condottiere John Hawkwood, with 130,000 florins, extracted from local clergy, bishops, abbots, monasteries, and ecclesiastical institutions, by an eight-member committee appointed by the Signoria of Florence, the Otto dei Preti. Hawkwood also received a 600 florin annual salary for the next five years and a lifetime annual pension of 1,200 florins. The transalpine mercenaries employed by Gregory XI against Milan, now unemployed, were often a source of friction and conflict in papal towns.

Question: How many more florins was Hawkwood's lifetime annual pension than his annual salary?


Input: Prague employs almost a fifth of the entire Czech workforce, and its wages are significantly above average (~+25%). In December 2015, average salaries available in Prague reached 35,853 CZK, an annual increase of 3.4%, which was nevertheless lower than national increase of 3.9% both in nominal and real terms. (Inflation in Prague was 0.5% in December, compared with 0.1% nationally.) Since 1990, the citys economic structure has shifted from industrial to service-oriented. Industry is present in sectors such as pharmaceuticals, printing, food processing, manufacture of transport equipment, computer technology and electrical engineering. In the service sector, financial and commercial services, trade, restaurants, hospitality and public administration are the most significant. Service (economics) account for around 80 percent of employment. There are 800,000 employees in Prague, including 120,000 commuters. The number of (legally registered) foreign residents in Prague has been increasing in spite of the countrys economic downturn. As of March 2010, 148,035 foreign workers were reported to be living in the city making up about 18 percent of the workforce, up from 131,132 in 2008. Approximately one-fifth of all investment in the Czech Republic takes place in the city.

Question: How many percentage points of employment is not service?


Input: Hoping to end their two-game skid, the Titans flew to Lincoln Financial Field for a Week 11 fight with the Philadelphia Eagles.  In the first quarter, the Titans drew first blood as QB Vince Young completed a 14-yard TD pass to TE Ben Troupe.  The Eagles would respond with kicker David Akers completing a 42-yard field goal.  In the second quarter, Akers kicked a 38-yard field goal for Philadelphia, while kicker Rob Bironas got a 36-yard field goal for Tennessee as time ran out on the half.  In the third quarter, the Titans offense went into overdrive, as RB Travis Henry ran 70-yards for a touchdown, while CB Pacman Jones returned a punt 90 yards for a touchdown.  In the fourth quarter, even though QB Jeff Garcia completed a 5-yard touchdown pass to TE L.J. Smith, Tennessee managed to seal the deal with OLB Keith Bulluck returning a fumble 16 yards for a touchdown.  With the win, the Titans improved to 3-7.

Question: How many touchdowns did the Titans score in the 3rd quarter?


Input: After the Lithuanians were defeated in the Battle of Strėva by the Teutonic Knights in 1348, Liubartas lost all territories except for eastern Volhynia with Lutsk to Casimir and his ally Louis I of Hungary . Liubartas' brothers Algirdas and Kęstutis organized several expeditions to Poland and Red Ruthenia. Lithuanians allied themselves with Muscovy: Liubartas married an unnamed daughter of Konstantin of Rostov, a relative of Simeon of Moscow, and Algirdas married Uliana of Tver, sister-in-law of Simeon. In spring 1351, Lubartas was taken prisoner by Louis, but was released in summer after a truce was agreed upon with Kęstutis. The deal fell through and more military attacks followed in 1352. Another truce, rather favorable to the Lithuanians, was signed in fall 1352: Lubartas received not only Volhynia and Podolia, but also Belz and Chełm. However, already in 1353, Liubartas attacked again. Casimir responded by organizing a large campaign against the pagan Lithuanians with a special permission from Pope Innocent VI. After the campaign did not achieve the desired results, Casimir contemplated an alliance with the Lithuanians. In 1366, Casimir, allied with Siemowit III of Masovia and nephews of Liubartas, resumed the war. As Algirdas was involved in conflicts in the east and Kęstutis fought with the Teutonic Knights, Liubartas had to defend alone and was defeated. In fall 1366, a treaty was signed: Liubartas retained only eastern Volhynia with Lutsk and became somewhat dependent on Poland . Casimir awarded his allies: Yuri, son of Karijotas, received Chełm, his brother Alexander received Volodymyr-Volynskyi, and Yuri, son of Narimantas, continued to rule Belz.

Question:
How many years passed between Liubartas losing all territories except Volhynia and Lubartas being taken prisoner?