TASK DEFINITION: This task involves creating answers to complex questions, from a given passage. Answering these questions, typically involve understanding multiple sentences. Make sure that your answer has the same type as the "answer type" mentioned in input. The provided "answer type" can be of any of the following types: "span", "date", "number". A "span" answer is a continuous phrase taken directly from the passage or question. You can directly copy-paste the text from the passage or the question for span type answers. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words. A "number" type answer can include a digit specifying an actual value. For "date" type answers, use DD MM YYYY format e.g. 11 Jan 1992. If full date is not available in the passage you can write partial date such as 1992 or Jan 1992. If you find multiple spans, please add them all as a comma separated list. Please restrict each span to five words.
PROBLEM: Passage: The control of Tenasserim coast  in the early 18th century was divided between Burma and Siam, with the Burmese controlling down to Tavoy  and the Siamese controlling the rest. Throughout history, both kingdoms had claimed the entire coast--, and control had changed hands several times. The Burmese Pagan Dynasty controlled the entire coast until 1287. Throughout 14th and 16th centuries, Siamese kingdoms  controlled much of the coast, up to just south of present-day Mawlamyaing. In the mid-16th century, the Burmese under Toungoo kings Tabinshwehti and Bayinnaung tried to regain the coast, first failing in 1548, and finally succeeding in 1564 when they conquered all of Siam for the first time. The Siamese revolted in 1584, and under their king Naresuan regained the lower coast by 1593 and the entire coast by 1594. The Burmese retook the upper coast down to Tavoy in 1615 but failed to recover the rest. This arrangement lasted until 1740 . During this period, Mergui  on the Andaman Sea was the primary port of Siam through which its trade with India and the West was conducted. 
Question: How many years passed between the  Burmese under Toungoo kings Tabinshwehti and Bayinnaung trying to regain the coast and failing and when they finally succeeded? 
Answer type: Number 

SOLUTION: 16.

PROBLEM: Passage: Coming off their shutout home win over the Rams, the 49ers stayed at home for a Week 5 duel with the Atlanta Falcons. The Niners would trail early in the first quarter as Falcons running back Michael Turner got a 7-yard touchdown run, followed by quarterback Matt Ryan's 31-yard touchdown pass to wide receiver Roddy White. San Francisco would answer with a 2-yard touchdown run from running back Glen Coffee. After starting the second quarter with a 39-yard field goal from kicker Joe Nedney, Atlanta took over with Ryan hooking up with White again on a 90-yard touchdown pass and Turner's 3-yard & 1-yard touchdown runs. The Falcons would then close out the game with kicker Jason Elam's 40-yard field goal in the third quarter and Ryan's 1-yard touchdown run in the fourth. With the loss, the 49ers entered their bye week at 3-2. 
Question: How many more yards was the longest touchdown pass compared to the longest field goal? 
Answer type: Number 

SOLUTION: 50.

PROBLEM: Passage: The 49ers dominated the first half and led 28-7 at halftime.  However, their second half offense stalled while the defense fell apart as the 49ers squandered a 21-point 3rd quarter lead and a 14-point lead in the final minutes of the 4th quarter.  The Chargers outscored the 49ers 31-7 after halftime.  Trailing 35-28, the Chargers drove down the field for the game-tying touchdown, converting two 4th downs on that drive.  The 49ers attempted to win in the final seconds of regulation, but Phil Dawson's 60 yard kick was way off.  The game went to overtime.  The 49ers got the ball first, but a fumble by Quinton Patton allowed the Chargers to have possession on their own 40.  The Chargers drove the 49ers' 22 yard line before kicking a field goal to hand the 49ers their fourth straight loss. The 49ers rushed for an astonishing 355 yards, including a 52-yard touchdown run by Frank Gore and a 90-yard touchdown run by Colin Kaepernick. The 49ers set an NFL record for most rushing yards in a loss The 49ers also scored 35 points, a season high.  However, their offensive struggles in the second half of games continued.  During the four game losing streak, the 49ers scored only 13 points in the second half of their games (outscored 65-13 by opponents in the second half of those games).  With the loss the 49ers fell to 7-8, ensuring that they would finish without a winning record for the first time since the 2010 season. 
Question: How many points were the Chargers trailing by at halftime? 
Answer type: Number 

SOLUTION:
21.