P: In 1624, when the Ottoman Sultan recognized Fakhr-al-Din II as Lord of Arabistan , the Druze leader made Tiberias his capital. Fakhr ad Din II, one of the most famous Druze Emirs, was succeeded in 1635 by his nephew Mulhim Ma'an, who ruled through his death in 1658. Fakhr ad Din II's only surviving son, Husayn, lived the rest of his life as a court official in Constantinople. Emir Mulhim exercised Iltizam taxation rights in the Chouf, Gharb, Jurd, Matn, and Kisrawan districts of Lebanon. Mulhim's forces battled and defeated those of Mustafa Pasha, Beylerbey of Damascus, in 1642, but he is reported by historians to have been otherwise loyal to Ottoman rule. Emir Mulhim Ma'an died in 1658, succeeded by two of his sons.
Answer this: How many years did Mulhim Ma'an serve?

A: 23

Problem: After a tough road loss to the Patriots, the Steelers traveled home to take on the Bills. The Bills scored first in the first quarter when Dan Carpenter nailed a 20-yard field goal for a 3-0 lead and the only score of the quarter. The Steelers however, responded by doing it big starting off in the 2nd quarter tying the game at 3 when Shaun Suisham nailed a 36-yard field goal. They would increase their lead as Ben Roethlisberger found Jerricho Cotchery on a 5-yard TD pass giving them a 10-3 halftime lead. After the break, the Steelers went back to work as Le'Von Bell ran for a 4-yard TD increasing their lead to 17-3. They followed up in the 4th quarter with 2 Suisham field goals from 37 and 23 yards out for a lead of 20-3 and then 23-3 respectively. The Bills finally managed to score a TD in the final seconds of the game when EJ Manuel found Chris Gragg on a 2-yard pass, making the final score 23-10 sealing the win for the Steelers improving themselves to 3-6.

How many points did Buffalo lose by?
Answer: 13

Q: After Flash 5 introduced ActionScript in 2000, developers combined the visual and programming capabilities of Flash to produce interactive experiences and applications for the Web. Such Web-based applications eventually came to be known as "Rich Internet Applications" . In 2004, Macromedia Flex was released, and specifically targeted the application development market. Flex introduced new user interface components, advanced data visualization components, data remoting, and a modern IDE . Flex competed with Asynchronous JavaScript and XML and Microsoft Silverlight during its tenure. Flex was upgraded to support integration with remote data sources, using AMF, BlazeDS, Adobe LiveCycle, Amazon Elastic Compute Cloud, and others. As of 2015, Flex applications can be published for desktop platforms using Adobe AIR. Between 2006 and 2016, the Speedtest.net web service conducted over 9.0 billion speed tests using an RIA built with Adobe Flash. In 2016, the service shifted to HTML5 due to the decreasing availability of Adobe Flash Player on PCs. As of 2016, Web applications and RIAs can be developed with Flash using the ActionScript 3.0 programming language and related tools such as Adobe Flash Builder. Third-party IDEs such as FlashDevelop and Powerflasher FDT also enable developers to create Flash games and applications, and are generally similar to Microsoft Visual Studio. Flex applications are typically built using Flex frameworks such as PureMVC.
How many years did Speedtest.net use Adobe Flash?
A: 10

Problem: After a disappointing loss to the Miami Dolphins, the Patriots looked to bounce back against the lowly Vikings who were without Adrian Peterson who was suspended, but were led by ex-Patriot Matt Cassel at quarterback. The Vikings took the ball and marched right down the field 80 yards in just 7 plays, with Cassel finding Matt Asiata on a 25-yard touchdown pass for a 7-0 lead just over four minutes into game. This would the highlight of the game for the Vikings. After a Patriots three-and-out, safety Devin McCourty intercepted Cassel at the Patriots 39 and returned it 60 yards down to the 1 yard line. Two plays later, Stevan Ridley scored on a 1-yard run to tie the game. After a Vikings punt, the Patriots reached the Vikings 30-yard line where Gostkowski gave the Patriots a 10-7 lead on a 48-yard field goal from Gostkowski. On the fifth play of the Vikings' next drive, Cassel threw his second interception, this one to Darrelle Revis at the Patriots 39. The Patriots put together a 7 play, 61-yard drive, with Brady finding Edelman for a 9-yard touchdown pass, increasing the Patriots lead to 17-7. Late in the second quarter the Vikings drove to the Patriots 30, but Chandler Jones blocked Blair Walsh's field goal attempt and returned it 58 yards for a touchdown, widening the Patriots lead to 24-7 at halftime. The Patriots reached the Vikings 43 early in the third quarter, but were forced to punt, but the Vikings gave it right back when Cassel threw his third interception, this one to Ryan at the Vikings 45. The Patriots could only reach the Vikings 28, where Gostkowski was connected on a 46-yard field goal and the Patriots led 27-7. Following another Vikings punt the Patriots stormed to the Vikings 9, but their struggling offense couldn't get in the endzone, and Gostkowski's 39-yard field goal gave the Patriots a 30-7 lead. With less than seven minutes remaining in the game, rookie Dominique Easley intercepted Cassel at the Vikings 35. Neither team did anything for the rest of the game and the Patriots won the game. Brady was efficient completing 14 of 21 passes for 149 yards, one touchdown, and no interceptions, but continued to not be the superstar that he was known to be. Stevan Ridley led the Patriots in rushing, carrying the ball 25 times for 101 yards and a touchdown. Filling in for the suspended Adrian Peterson, Matt Asiata carried the ball 13 times for only 36 yards. Matt Cassel went 19 of 36 for 202 yards with 1 touchdown, but was intercepted 4 times by the Patriots.
Answer this question based on the article: How many incomplete passes did Brady throw?
A: 7

P: 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.
Answer this: What event happened first, Thao Lok ascending the throne, or The king invading Lan Na?

A:
king invading Lan Na