Input: Thomas Wentworth, now the Earl of Strafford, became a leading adviser to the King. He threw himself into Charles's plans with great energy and left no stone unturned to furnish the new military expedition with supplies and money. The Scots under Leslie and Montrose crossed the River Tweed, and Charles' army retreated before them. In a short time, the invaders overran the whole of Northumberland and County Durham . Charles had to leave the two counties in Scots hands as a pledge for the payment of Scots expenses when he agreed to peace and signed the Treaty of Ripon in October 1640. The impoverished King had to summon another parliament to grant him the supplies which he needed to make that payment; this Long Parliament attacked his Government, impeaching  his chief supporters, Strafford and Laud. It sat until purged in 1648. In the hopes of winning Scottish support, Charles went to Scotland in the autumn of 1641 where he gave titles to Leslie and Argyll, and accepted all the decisions of the General Assembly of 1638 and of the Scottish Parliament of 1641, including confirming the right of the Parliament to challenge the actions of his ministers. He had now withdrawn all the causes of the original dispute, but within a year his disputes with the English Parliament would lead to civil war.

Question: How many years passed from the signing of the Treaty of Ripon and confirming the right of the Parliament to challenge the actions of his ministers


Input: With the loss, the Steelers fell to 9-6, and were swept by the Ravens for the first time since the 2011 season. They also ended there streak of six straight games scoring 30 or more points. The loss also allowed the Bengals to clinch the AFC North title. The Steelers also fell out of the AFC Wildcard race and will need a win coupled with a loss by the New York Jets in Week 17 in order to make the playoffs. The defense failed to get any takeaways but were able to get away with 2 sacks.

Question: How many turnovers did the Ravens have?


Input: Hoping to rebound from their divisional road loss to the Seahawks, the 49ers played their Week 2 home opener against the defending Super Bowl champion New Orleans Saints on Monday night. San Francisco trailed early in the first quarter as center David Baas' high snap deep within Niner territory resulted in a safety.  The Saints would add onto their lead as quarterback Drew Brees completed a 6-yard touchdown pass to running back Reggie Bush.  The 49ers would respond in the second quarter with quarterback Alex Smith finding running back Frank Gore on a 12-yard touchdown pass. The Niners would take the lead in the third quarter as rookie running back Anthony Dixon got a 2-yard touchdown run, but New Orleans would answer with Brees' 3-yard touchdown pass to tight end David Thomas.  In the fourth quarter, the Saints would add onto their lead as kicker Garrett Hartley got a 46-yard and a 19-yard field goal.  San Francisco would tie the game with Gore's 7-yard touchdown run, followed by Smith's 2-point conversion pass to tight end Vernon Davis.  However, New Orleans would get the last laugh as Hartley made the game-winning 37-yard field goal.

Question: when did the niners recover?


Input: In his first season with the team, he hit for a career low .247 while having 88 RBIs, 20 home runs, 29 doubles and 147 hits in 160 games. The following year, he improved to a .330 average while having 95 RBIs, 26 home runs, 22 doubles and 184 hits in 155 games. He had 64 strike outs (his lowest since 49 in 1986) while having 87 walks, the most since he had 84 in 1985. He was awarded the Silver Slugger Award for the third and final time while finishing 5th in the MVP balloting. He lost the List of Major League Baseball batting champions to Willie McGee in a narrow margin; McGee had been traded from the St. Louis Cardinals to the Oakland Athletics but had enough plate appearances to qualify for the batting title, hitting .335 to Murrays .330, though McGee hit .274 with the As (making his season average .324), which meant that Murray led the major leagues despite not winning the batting title. The 1991 season was his last with the Dodgers. He hit for .260 while having 96 RBIs, 19 home runs, 23 doubles and 150 hits in 153 games. He had 74 strike outs along with 55 walks (the lowest since having 40 in the injury shortened year of 1981). Despite this, he was named to the 1991 Major League Baseball All-Star Game. On October 29, 1991, he was granted free agency.

Question:
How many seasons did he accomplish less than 20 home runs?