[Q]: Extract the answer to the question from the following context. Question: What is the second most populous city in the world, and the most populated urban area in China? Context: It is also known as the Wenchuan earthquake (Chinese: 汶川大地震; pinyin: Wènchuān dà dìzhèn; literally: "Great Wenchuan earthquake"), after the location of the earthquake's epicenter, Wenchuan County, Sichuan. The epicenter was 80 kilometres (50 mi) west-northwest of Chengdu, the provincial capital, with a focal depth of 19 km (12 mi). The earthquake was also felt in nearby countries and as far away as both Beijing and Shanghai—1,500 km (930 mi) and 1,700 km (1,060 mi) away—where office buildings swayed with the tremor. Strong aftershocks, some exceeding magnitude 6, continued to hit the area even months after the main quake, causing new casualties and damage.
****
[A]: Shanghai

input: Please answer the following: Extract the answer to the question from the following context. Question: What relationship did Schwarzenegger have with a Democrat? Context: Schwarzenegger then went against the advice of fellow Republican strategists and appointed a Democrat, Susan Kennedy, as his Chief of Staff. Schwarzenegger gradually moved towards a more politically moderate position, determined to build a winning legacy with only a short time to go until the next gubernatorial election.
++++++++++
output: appointed

Please answer this: Extract the answer to the question from the following context. Question: Why did Mexico think it was necessary to have six men defending for every 1000 residents? Context: During the American occupation of the state, the number of Indian attacks was drastically reduced, but in 1848 the attacks resumed to such a degree that the Mexican officials had no choice but to resume military projects to protect Mexican settlements in the state. Through the next three decades the state faced constant attacks from indigenous on Mexican settlements. After the occupation the people of the state were worried about the potential attack from the hostile indigenous tribes north of the Rio Grande; as a result a decree on July 19, 1848, the state established 18 military colonies along the Rio Grande. The new military colonies were to replace the presidios as population centers to prevent future invasions by indigenous tribes; these policies remained prominent in the state until 1883. Eventually the state replaced the old state security with a state policy to form militias organized with every Mexican in the state capable to serve between the ages of 18 and 55 to fulfill the mandate of having six men defending for every 1000 residents.
++++++++
Answer: Indian attacks

Problem: Extract the answer to the question from the following context. Question: What and for whom was something heavy make things hard to deal with? Context: The show had been criticized in earlier seasons over the onerous contract contestants had to sign that gave excessive control to 19 Entertainment over their future career, and handed a large part of their future earnings to the management.

A: The show had been criticized in earlier seasons over the onerous contract contestants

Problem: Given the question: Extract the answer to the question from the following context. Question: What kind of settlements were the places damaged by an avalanche in the two examples mentioned? Context: Glaciers end in ice caves (the Rhone Glacier), by trailing into a lake or river, or by shedding snowmelt on a meadow. Sometimes a piece of glacier will detach or break resulting in flooding, property damage and loss of life. In the 17th century about 2500 people were killed by an avalanche in a village on the French-Italian border; in the 19th century 120 homes in a village near Zermatt were destroyed by an avalanche.
++++++++++++++++++++++++++++++++
The answer is:
village

Problem: Extract the answer to the question from the following context. Question: If I was interested in going to Montana in Winter, what would be available only in that season? Context: There are at least 3,223 named lakes and reservoirs in Montana, including Flathead Lake, the largest natural freshwater lake in the western United States. Other major lakes include Whitefish Lake in the Flathead Valley and Lake McDonald and St. Mary Lake in Glacier National Park. The largest reservoir in the state is Fort Peck Reservoir on the Missouri river, which is contained by the second largest earthen dam and largest hydraulically filled dam in the world. Other major reservoirs include Hungry Horse on the Flathead River; Lake Koocanusa on the Kootenai River; Lake Elwell on the Marias River; Clark Canyon on the Beaverhead River; Yellowtail on the Bighorn River, Canyon Ferry, Hauser, Holter, Rainbow; and Black Eagle on the Missouri River.

A:
St. Mary Lake in Glacier National Park