Input: On 22 December the Pretender landed in Scotland at Peterhead, but by the time he arrived at Perth on 9 January 1716, the Jacobite army numbered fewer than 5,000. In contrast, Argyll's forces had acquired heavy artillery and were advancing quickly. Mar decided to burn a number of villages between Perth and Stirling, so as to deprive Argyll's army of supplies. On 30 January Mar led the Jacobites out of Perth; on 4 February the Pretender wrote a farewell letter to Scotland, sailing from Montrose the following day. Many Jacobites who were taken prisoner were tried for treason and sentenced to death. The Indemnity Act of July 1717 pardoned all those who had taken part in the Rising, but the whole of the Clan Gregor, including Rob Roy MacGregor, was specifically excluded from the benefits of that Act. Another attempt, this time with Spanish support, was undertaken in 1719, only to end again in defeat in the Battle of Glenshiel. James's son Charles Edward Stuart attempted to win the throne for his father in 1745, in another Jacobite rising, but was defeated at the Battle of Culloden. James died in 1766.

Question: How many years after Charles Edward Stuart attempted to win the throne for his father in 1745 did he die?

Input: Coming off their divisional home win over the Browns, the Steelers flew to Candlestick Park for a Week 16 interconference duel with the San Francisco 49ers on Monday night. Pittsburgh trailed in the first half with 49ers kicker David Akers getting a 22-yard field goal in the first quarter, followed by a 38-yard field goal in the second quarter. The Steelers would answer in the third quarter with a 51-yard field goal from kicker Shaun Suisham, but San Francisco came right back with quarterback Alex Smith completing a 1-yard touchdown pass to tight end Vernon Davis. The 49ers would pull away in the fourth quarter with running back Frank Gore getting a 5-yard touchdown run.

Question: How many yards longer was Shaun Suisham's longest field goal than David Akers longest field goal?

Input: Coming off their win over the Cardinals the Chargers flew to Oakland-Alameda County Coliseum for an AFC West division rivalry match against the Raiders. In the first quarter the Chargers' offense had problems when after a three-and-out Mike Scifres' punt was blocked by RB Rock Cartwright out of bounds in the end zone for a safety. Then kicker Sebastian Janikowski made a 50-yard field goal. Then Scifres' punt was blocked again and returned by FS Hiram Eugene 5yards to the endzone for a touchdown. The Chargers then fought back and took the lead with QB Philip Rivers completing a 19-yard TD pass to TE Antonio Gates. Then RB Mike Tolbert got a 4-yard TD run. Then the Chargers trailed with Janikowski making a 30-yard field goal. But they responded and got the lead back with kicker Nate Kaeding making a 43-yard field goal, followed in the third quarter by Rivers making a 41-yard TD pass to WR Malcolm Floyd. The Raiders replied with QB Jason Campbell completing a 1-yard TD pass to TE Zach Miller. Followed in the 4th quarter by Kaeding making a 34-yard field goal. The Chargers fell behind when RB Michael Bush got a 3-yard touchdown run (with a failed 2-point conversion), followed by SS Tyvon Branch recovering a fumble and running 64yards to the endzone for a touchdown to give the Chargers a loss, for the first time against the Raiders since 2003. With the loss, San Diego fell to 2-3 for the 4th straight season.

Question: How many field goals did Kaeding kick in the second half?

Input: Soon after the Battle of Warsaw the Bolsheviks sued for peace. The Poles, exhausted, constantly pressured by the Western governments and the League of Nations, and with its army controlling the majority of the disputed territories, were willing to negotiate. The Soviets made two offers: one on 21 September and the other on 28 September. The Polish delegation made a counteroffer on 2 October. On the 5th, the Soviets offered amendments to the Polish offer, which Poland accepted. The Preliminary Treaty of Peace and Armistice Conditions between Poland on one side and Soviet Ukraine and Soviet Russia on the other was signed on 12 October, and the armistice went into effect on 18 October. Ratifications were exchanged at Liepaja on 2 November. Long negotiations of the final peace treaty ensued. Meanwhile, Petliura's Ukrainian forces, which now numbered 23,000 soldiers and controlled territories immediately to the east of Poland, planned an offensive in Ukraine for 11 November but were attacked by the Bolsheviks on 10 November. By 21 November, after several battles, they were driven into Polish-controlled territory.

Question:
How many days after the armistice went into effect did the Bolsheviks attack the Polish?