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 Ukranian forces were attacked by the Bolsheviks were they driven into Polish-controlled territory?

Input: After a short week, the Lions hosted their division rivals the Chicago Bears for their 75th annual Thanksgiving Day Game. Detroit spotted Chicago a 14-3 first quarter lead, as Jay Cutler hit Alshon Jeffery with touchdown passes of 10 and 6 yards, wrapped around a Matt Prater 46-yard field goal. In the second quarter, Calvin Johnson ended his team's nine-quarter touchdown drought by catching a 25-yard TD pass from Matthew Stafford. Before the half ended, Joique Bell scored on a 1-yard run and Stafford again hooked up with Johnson, this time on a 6-yard TD, putting Detroit up 24-14. Robbie Gould closed the gap to seven points with a 35-yard field goal in the third quarter. Detroit scored the game's final 10 points in the fourth quarter. Joique Bell capped a 95-yard drive with his second 1-yard TD run and Matt Prater hit a 40-yard field goal, making the final score 34-17. The Lions tallied a season-high 474 yards of offense on the day.

Question: How many field goals between 30 and 40 yards were there?

Input: In recent years, Nanjing has been developing its economy, commerce, industry, as well as city construction. In 2013 the citys GDP was RMB 801 billion (3rd in Jiangsu), and GDP per capita(current price) was RMB 98,174(US$16041), a 11 percent increase from 2012. The average urban residents disposable income was RMB 36,200, while the average rural residents net income was RMB 14,513. The registered urban unemployment rate was 3.02 percent, lower than the national average (4.3 percent). Nanjings Gross Domestic Product ranked 12th in 2013 in China, and its overall competence ranked 6th in mainland and 8th including Taiwan and Hong Kong in 2009.

Question: In 2013 in China, how many cities had a GDP rank higher than Nanjing?

Input: San Diego lost 22-10 to the Broncos after struggling offensively for the second consecutive week. After entering the game with the 6th best record in the AFC, the loss was a blow to the Chargers' (8-6) playoff chances. It was their second consecutive home loss to the two teams tied for the best record in their conference. Denver's Manning threw a scoring pass to Demaryius Thomas at the end of the third quarter for their only touchdown of the game. The Chargers pulled to within six points at 16-10 after a TD catch by Gates with 10 minutes left. The Chargers trailed only 9-3 at the half after holding the Broncos to a field goal each time they entered the red zone. Manning was sick coming into the game, and left late in the second quarter with a thigh injury. Set up by a 58-yard punt return by Royal, Novak kicked a 30-yard field goal before the half ended for the Chargers' first score. Manning began the third quarter, and finished the game completing 14 of 20 passes for 233 yards with one touchdown and no interceptions. Novak missed two field goals in the game: a 46-yard attempt that was tipped by Derek Wolfe in the second quarter, and a 37-yard attempt that hit the left upright in the third. The Chargers were using a new holder with punter Mat McBriar, who was replacing the injured Scifres, but Novak refused to use it as an excuse. Novak placed the blame of the loss on himself, whose missed kicks would have tied the score and kept the game in reach. Rivers completed 24 of 41 attempts for 232 yards with two interceptions. Gates' touchdown was his 10th of the season, tying him with Gronkowski for most seasons with at least 10 touchdown catches by a tight end. Allen exited the game in the third quarter after suffering both a broken right collarbone and an injured right ankle in the second quarter; the collarbone sidelined him for the final two games of the season. The Chargers' defense limited Denver to 111 yards on 39 carries, an average of 2.8 yards per rush. They also held the Broncos to 3-for-12 on third-down conversions.

Question:
How many field goals did Nick Novak miss?