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.

Input: Consider Input: Passage: The Forty Years' War  was a military conflict fought between the Burmese-speaking Kingdom of Ava and the Mon-speaking Kingdom of Hanthawaddy Pegu. The war was fought during two separate periods: 1385 to 1391, and 1401 to 1424, interrupted by two truces of 1391-1401 and 1403-1408. It was fought primarily in today's Lower Burma and also in Upper Burma, Shan State and Rakhine State. It ended in a stalemate, preserving the independence of Hanthawaddy, and effectively ending Ava's efforts to rebuild the erstwhile Pagan Empire. 
Question: How many countries kept their independence? 
Answer type: Number 

Output: 1.


Input: Consider Input: Passage: In week 14, the Lions traveled to rainy Baltimore, Maryland for an interconference duel with the Baltimore Ravens. Baltimore lead for almost the entire game. They scored first late in the first quarter with a 38-yard field goal by Billy Cundiff. They added to their lead with a 62-yard catch and run TD by Derrick Mason from Joe Flacco. The Lions scored their only points of the game near the end of the second quarter with a 22-yard Jason Hanson field goal. A minute later the Ravens responded with a 59-yard rushing TD by Ray Rice. Baltimore finished out the first half with a 25-yard field goal. In the second half the Ravens scored 4 consecutive touchdowns. First a Le'Ron McClain 3-yard run. Then 2 by Willis McGahee: first an 8-yard run, then a 19-yard run. In the fourth quarter, the Ravens capped off their huge victory when Troy Smith ran in a TD from 15 yards. Lions backup quarterback Daunte Culpepper completed less than half of his passes (16 for 34) and threw 2 interceptions. 
Question: How many yards longer was the longest field goal than the shortest? 
Answer type: Number 

Output: 16.


Input: Consider Input: Passage: Because of the combination of a relatively small Omani population and a fast-growing oil-driven economy, Oman has attracted many migrants. At the 2014 census the total expatriate population was 1,789,000 or 43.7% of the population. Most migrants are males from India (465,660 for both sexes), Bangladesh (107,125) or Pakistan (84,658). Female migrant workers are mainly from Indonesia (25,300), the Philippines (15,651) or Sri Lanka (10,178). Migrants from Arab countries account for 68,986 migrants (Egypt 29,877, Jordan 7,403, Sudan 6,867, UAE 6,426, Iraq 4,159, Saudi Arabia 725, Bahrain 388, Qatar 168, other 12,683) and other Asian countries for 12,939 migrants. There were 8,541 migrants from Europe, 1,540 from the United States and 15,565 from other countries. 
Question: How many migrants were from either Europe or the United States? 
Answer type: Number 


Output: 10081.