Input: During the 15th century the Ayutthaya Kingdom fought frequent wars against the Lan Na Kingdom in the north, the Khmer Empire of Angkor Wat to the east and the Malay States to the south. King Intharacha of Ayutthaya forced the former Kingdom of Sukhothai to recognize his authority in 1410. The king then invaded Lan Na in 1411, seizing Chiang Rai but failing to capture Chiang Mai and Phayao. In the latter battle the two sides may have used early cannons. In 1424 King Borommarachathirat II ascended the throne of Ayutthaya. After a seven-month siege, he captured Angkor by treachery in 1431. The Khmer retook the city in 1432 and subsequently transferred their capital to Phnom Penh. The sixth son of the Lan Na king Sam Fang Kaen, Thao Lok, ascended the throne in the aftermath of coup against his father in 1441. Thao Lok was crowned as king Tilokaraj of Lan na, later banishing his father Sam Fang Kaen to Muong Shan in the Shan States. General Phya Samdekyoki, who had previously played an important role in bringing Tilokaraj to power created a plot in order to assume power himself, the plot was however discovered and Samdekyoki was exiled to Chiang Saen.

Question: How many different places did King Intharacha of Ayutthaya attempt to capture in his invasion of Lan Na in 1411?


Input: Hoping to rebound from their loss to the Rams, the Broncos returned home for an AFC duel against the Miami Dolphins &#8212; the Broncos' first home game in exactly one month. The Dolphins grabbed the early lead, with running back Daniel Thomas rushing for a 3-yard touchdown. The Broncos subsequently got on the scoreboard, with a 38-yard field goal by placekicker Brandon McManus. The Dolphins added to their lead early in the second quarter, with quarterback Ryan Tannehill rushing for a 1-yard touchdown. The Broncos cut into the Dolphins' lead, with quarterback Peyton Manning connecting on a 5-yard touchdown pass to wide receiver Demaryius Thomas, however, the Dolphins responded, with Tannehill throwing a 10-yard touchdown pass to wide receiver Mike Wallace. Another touchdown pass from Manning to Demaryius Thomas &#8212; from 14 yards out &#8212; narrowed the Dolphins' lead to 21-17 just before halftime. The Broncos drove to as far as the Dolphins' 7-yard line on the initial possession of the second half, but after Manning was sacked by Dolphins' linebacker Jelani Jenkins for an 8-yard loss, McManus missed on a 33-yard field goal attempt. After the Broncos' defense forced a Dolphins' punt, return specialist Isaiah Burse fumbled deep in Broncos' territory, giving the football back to the Dolphins. Four plays later, Tannehill connected with wide receiver Jarvis Landry on a 5-yard touchdown pass to give the Dolphins a 28-17 lead at the 2:15 mark of the third quarter. The Broncos then reeled off 22 unanswered points. Early in the fourth quarter, Manning threw his third touchdown pass of the game to Demaryius Thomas &#8212; from 5 yards out &#8212; coupled with a two-point conversion pass to wide receiver Emmanuel Sanders. After forcing a Dolphins' punt, the Broncos grabbed their first lead of the game at the 5:05 mark of the fourth quarter, with running back C. J. Anderson rushing for a 10-yard touchdown. On the third play of the Dolphins' next possession, Tannehill was intercepted by Broncos' safety T. J. Ward, who advanced the football all the way to the Dolphins' 8-yard line. Two plays later, Manning threw a 2-yard touchdown pass to wide receiver Wes Welker to increase the Broncos' lead to 39-28 with 3:17 remaining in the fourth quarter. The Dolphins attempted a rally, with Tannehill connecting on a 1-yard touchdown pass to Landry, coupled with running back Lamar Miller rushing for a two-point conversion, with 1:37 remaining in the game. However, the Dolphins' onside kick attempt was unsuccessful, and the Broncos subsequently ran out the clock. Demaryius Thomas' streak of 100-yard receiving games ended at seven games, one shy of the NFL record that was set by Detroit Lions' wide receiver Calvin Johnson in 2012.

Question: How many field goals were attempted in the game?


Input: After a win over the Bengals, the Browns stayed home for a Thursday Night duel against the Bills.  The Bills scored first when Fred Jackson ran for a 1-yard touchdown for a 7-0 lead followed up by Dan Carpenter nailing a 52-yard field goal increasing their lead to 10-0.  In the second quarter, it was all Browns as Billy Cundiff kicked a 33-yard field goal for a 10-3 game.  They eventually tied the game up and moved into the lead when Willis McGahee ran for a 1-yard touchdown for a 10-10 game followed up by Travis Benjamein returning a punt 79 yards for a touchdown for a halftime score of 17-10.  In the third quarter, the Bills tied it up and took the lead back when C.J. Spiller ran for a 54-yard touchdown for a 17-17 game followed up by McGahee running for another 1-yard touchdown for a 24-17 lead.  The Browns however later on in the quarter, tied it back up as Brandon Weeden hooked up with Josh Gordon for a 37-yard pass for a 24-24 game.  In the fourth quarter, it was all Browns as Cundiff made field goals from 24 and 44 yards out for leads of 27-24 and 30-24 before sealing the game when T.J. Ward returned an interception 44 yards for a touchdown and for the final score of 37-24.

Question: How many touchdowns were scored longer than 40 yards?


Input: With his health continuing to deteriorate, the Black Prince returned to England in January 1371, whereby now his father Edward III was elderly and also in poor health. The prince's illness was debilitating, and he died on 8 June 1376. Edward III died the following year on 21 June 1377; he was succeeded by the Black Prince's second son Richard II , who was still a child. The treaty at Brétigny left Edward III and England with enlarged holdings in France; however, a small professional French army under the leadership of du Guesclin pushed the English back and, by the time of Charles V's death in 1380, the English only held Calais and a few other coastal cities. It was usual to appoint a regent in the case of a child monarch, but no regent was appointed for Richard II, who nominally exercised the power of kingship from the date of his accession in 1377. However, between 1377 and 1380, actual power was in the hands of a series of councils. The political community preferred this to a regency led by the king's uncle, John of Gaunt, although Gaunt remained highly influential. Richard faced many challenges during his reign, including the Peasants' Revolt led by Wat Tyler in 1381 and an Anglo-Scottish war in 1384-1385. His attempts to raise taxes to pay for his Scottish adventure and for the protection of Calais against the French made him increasingly unpopular.

Question:
How many years after the Peasants' Revolt did the Anglo-Scottish war take place?