Input: Philip IV of France became King in 1285, and was determined to strengthen the French monarchy at any cost. The County of Flanders had been formally part of the French Kingdom since the Treaty of Verdun in 843, but had always de facto been largely, if not fully, independent from the French crown. Flanders had some of the richest cities of that time, like Bruges, Ghent, Ypres, Lille and Douai. These cities tried to keep their independence from the Count of Flanders and from the rural aristocracy. But the cities were themselves divided between the rich patricians and the urban tradesmen, united in guilds. In 1288, Philip IV of France used complaints over taxes to tighten his control over Flanders. Tension built between Guy of Dampierre, Count of Flanders and the King. In 1294, Guy turned for help to King Edward I of England, arranging a marriage between his daughter Philippa and Edward, Prince of Wales. However, Philip imprisoned Guy and two of his sons, forced him to call off the marriage, and imprisoned Philippa in Paris until her death in 1306. Guy was summoned before the king again in 1296, and the principal cities of Flanders were taken under royal protection, until Guy paid an indemnity and surrendered his territories, to hold them at the grace of the King. After these indignities, in 1297 Guy attempted to revenge himself on Philip by an alliance with Edward I of England, now at war with France. Philip responded by declaring Flanders annexed to the royal domain and sending a French army under Robert II of Artois to conquer Flanders.

Question: How many years after he first attempted to ally with Edward I did Guy attempt another alliance with Edward I of England?


Input: Trying to avoid a five-game losing streak, the Broncos went home for a Week 12 Interconference Duel against the New York Giants. In the first quarter the Broncos got on the board with kicker Matt Prater making a 26-yard field goal and then a 32-yard field goal in the second quarter. The Broncos kept on top with RB Knowshon Moreno making a 1-yard touchdown run. After that Matt Prater made a 47-yard field goal to end the half. In the third quarter the Giants replied with kicker Lawrence Tynes nailing a 39 then a 52-yard field goal. In the fourth quarter Denver increased their lead with QB Kyle Orton making a 17-yard touchdown pass to WR Brandon Stokley, and Prater making a 24-yard field goal.

Question: How many games did the Broncos lose before playing the Giants?


Input: Coming off their divisional win over the Patriots, the Jets flew to Sun Life Stadium for a Week 3 AFC East duel with the Miami Dolphins on Sunday night. New York delivered the game's opening strike in the first quarter as quarterback Mark Sanchez completed a 24-yard touchdown pass to tight end Dustin Keller. The Jets added onto their lead in the second quarter as Sanchez hooked up with Keller again on a 12-yard touchdown pass. The Dolphins answered as quarterback Chad Henne connected with tight end Anthony Fasano on a 3-yard touchdown pass, followed by kicker Dan Carpenter making a 44-yard field goal. Miami took the lead in the third quarter as Henne found wide receiver Brandon Marshall on an 11-yard touchdown pass, yet New York immediately struck back as Sanchez completed a 67-yard touchdown pass to wide receiver Braylon Edwards. The Dolphins cut into the lead as Carpenter made a 20-yard field goal. In the fourth quarter, the Jets responded with kicker Nick Folk making a 30-yard field goal. Miami struck back with Carpenter's 50-yard field goal, yet New York stayed persistent as running back LaDainian Tomlinson got a 1-yard touchdown run. Miami tried to get a comeback drive going, but the defense came through to hold onto the victory.

Question: How many total field goal yards did Dan Carpenter kick?


Input: Both sides had forces that did not arrive at Sekigahara in time to participate due to other battles.  Ieyasu's son Hidetada led another group through Nakasendō. However, Hidetada's forces were bogged down as he attempted to besiege Sanada Masayuki's Ueda Castle against his father's direct orders. Even though the Tokugawa forces numbered some 38,000, an overwhelming advantage over the Sanada's mere 2,000, they were still unable to capture the strategist's well-defended position. At the same time, 15,000 Toyotomi troops were being held up by 500 troops under Hosokawa Yūsai at Tanabe Castle in present-day Maizuru, Kyoto Prefecture. Some among the 15,000 troops respected Hosokawa so much they intentionally slowed their pace. Due to these incidents, a large number of troops from both sides failed to show up in time for the battle. If either of these armies participated in the conflict, it could have ended quite differently.

Question:
How many troops were at Tanabe Castle?