Input: Until 1998, Shearer was paid $30,000 per episode. During a pay dispute in 1998, Fox threatened to replace the six main voice actors with new actors, going as far as preparing for casting of new voices. The dispute, however, was resolved and Shearer received $125,000 per episode until 2004, when the voice actors demanded that they be paid $360,000 an episode. The dispute was resolved a month later, and Shearers pay rose to $250,000 per episode. After salary re-negotiations in 2008, the voice actors received $400,000 per episode. Three years later, with Fox threatening to cancel the series unless production costs were cut, Shearer and the other cast members accepted a 30 percent pay cut, down to just over $300,000 per episode. On May 13, 2015, Shearer announced he was leaving the show. After the other voice actors signed a contract for the same pay, Shearer refused, stating it was not enough. Al Jean made a statement from the producers saying "the show must go on," but did not elaborate on what might happen to the characters Shearer voiced. On July 7, 2015, Shearer agreed to continue with the show, on the same terms as the other voice actors.

Question: How many months after Shearer announced that he was leaving the show did he agree to continue on the same terms as the other voice actors?

Input: In April 1920 Poland launched the large-scale Kiev Offensive in hopes to capture Ukraine. Initially successful, the Polish Army started retreating after Russian counterattacks in early June 1920. Soon the Soviet forces began to threaten Poland's independence as they reached and crossed the Polish borders. On July 9, Polish Prime Minister Wadysaw Grabski asked the Allied Powers in the Spa Conference for military assistance in the war with the Soviets. The conference proposed that the Polish forces would withdraw behind the Curzon Line, the Soviet forces would stop 50km to the east of the line, the Lithuanian forces would take control of Vilnius, and all other disputes would be settled via negotiations in London. Grabski opposed the transfer of Vilnius, but under pressure of British Prime Minister Lloyd George, agreed to the resolution on July 10. At the same time Soviets and Lithuanians negotiated the Soviet-Lithuanian Peace Treaty, which was signed on July 12, 1920. Russia recognized Lithuanian independence and withdrew any territorial claims. The treaty drew the eastern border of Lithuania, which the Lithuanians continued to claim as their de jure state border until World War II. Vilnius Region, including Brasau, Hrodna, Lida, and Vilnius, was recognized to Lithuania. On August 6, after long and heated negotiations, Lithuania and Soviet Russia signed a convention regarding withdrawal of Russian troops from the recognized Lithuanian territory. However, the troops began to retreat only after the Red Army suffered a heavy defeat in Poland.

Question: How many days passed between the British Prime Minister agreeing to the resolution and Soviet-Lithuanian Peace Treaty?

Input: Despite losing key members of their bench during the offseason (including Okur, Mike James (basketball, born 1975) and Corliss Williamson), the 2004-05 Detroit Pistons season were considered a strong contender to win a second consecutive title in 2005. They won 54 games during the 2004-05 NBA season, their fourth consecutive season of 50 or more wins. During the 2005 NBA Playoffs, they easily defeated the Philadelphia 76ers 4-1 and then rallied from a 2-1 deficit to finish off the 2004-05 Indiana Pacers season, 4-2. In the Eastern Conference Finals, the Pistons faced the 2004-05 Miami Heat season. Once again, the Pistons fell behind. However, they would ultimately win the series in seven games. In the 2005 NBA Finals, the Pistons faced the 2004-05 San Antonio Spurs season. After both teams split the first four games of the series, the turning point came at the end of Game 5 in Detroit, which went into overtime. The Pistons were ahead 95-93 when Robert Horry sank the game-winning three-point basket for the Spurs with 5.8 seconds left in the extra session. The Pistons fought back to win Game 6 in San Antonio, setting up the first NBA Finals Game 7 since 1994. The Pistons then lost a hard-fought, low-scoring game to the Spurs, who won their third NBA championship since 1999.

Question: How many points did the Spurs win Game 5 by?

Input: Saint Jean de Brebeuf was a French Jesuit missionary who travelled to New France in 1625. There he worked primarily with the Huron for the rest of his life, except for a few years in France from 1629 to 1633. He learned their language and culture, writing extensively about each to aid other missionaries. In 1649, Brebeuf and another missionary were captured when an Iroquois raid took over a Huron village . Together with Huron captives, the missionaries were ritually tortured and killed on March 16, 1649. Brebeuf was beatified in 1925 and among eight Jesuit missionaries canonized as saints in the Roman Catholic Church in 1930.

Question:
How many years did Brebeuf not work for Huron?