Problem: On 24 August, Charles X Gustav joined Wittenberg's forces. The Polish king John II Casimir left Warsaw the same month to confront the Swedish army in the west, but after some skirmishes with the Swedish vanguard retreated southwards to Krakow. On 8 September Charles X Gustav occupied Warsaw, then turned south to confront the retreating Polish king. The kings met at the Battle of Zarnow on 16 September, which like the next encounter at the Battle of Wojnicz on 3 October was decided for Sweden. John II Casimir was exiled to Silesia while Krakow surrendered to Charles X Gustav on 19 October. On 20 October, a second treaty was ratified at Kedainiai in the north. The Union of Kedainiai unified Lithuania with Sweden, with Radziwi recognizing Charles X Gustav as Grand Duke of Lithuania. Over the following days, most of the Polish army surrendered to Sweden: on 26 October Koniecpolski surrendered with 5,385 men near Krakow, on 28 October Field Crown Hetman Stanisaw Lanckoronski and Great Crown Hetman Stanisaw "Rewera" Potocki surrendered with 10,000 men, and on 31 October the levy of Mazovia surrendered after the Battle of Nowy Dwor.
Answer this question based on the article: How many days after the surrender was the treaty signed
A: 1

Problem: Coming off their win over the Raiders the Texans played on home ground for an Interconference duel with the Giants. In the first quarter the Texans trailed early when QB Eli Manning made a 6-yard TD pass to WR Hakeem Nicks. Then RB Brandon Jacobs got a 1-yard TD run. This was followed in the 2nd quarter by Manning finding Hicks again on a 12-yard TD pass. The Texans tried to cut the lead when kicker Neil Rackers hit a 38-yard field goal, which was responded by Lawrence Tynes' 45-yard field goal. The Texans' offense managed to break through in the third quarter when RB Derrick Ward got a 1-yard TD run, but was closed off after Tynes made a 42-yard field goal; followed by Manning completing a 4-yard TD pass to WR Steve Smith.
Answer this question based on the article: How many field goals between 30 and 50 yards were made?
A: 3

Problem: In 1616 the Venetians besieged Farra and Gradisca, and the archduke attacked from Gorizia and Lucinico. With three large culverins, four guns and three small culverins, Farra repulsed the enemy artillery with heavy losses. The Venetians launched another futile assault before Giustiniani lifted the siege and retreated to Mariano. In September, Johan Ernst van Nassau-Siegen agreed to raise 3,000 men from the Dutch Republic for Venetian service. They arrived in May 1617, followed six months later by another 2,000 . Spanish support was blocked at sea by a flotilla of 12 Dutch and 10 English warships and on land by the war in Mantua. Although Archduke Ferdinand had only 4,000 soldiers to defend Gradisca, he received military, political and financial support from the Spanish as part of a larger agreement: Philip agreed to fight the Venetians and support Ferdinand as the next Holy Roman Emperor in return for the cession of Alsace, Finale Ligure and Piombino. This led to a negotiated settlement between Ferdinand and the Venetians in which many Uskok pirates were executed or exiled, and a permanent Austrian garrison was installed in Senj.
Answer this question based on the article: What happend in May 1617?
A:
Johan Ernst van Nassau-Siegen agreed