Given a question and a context passage, generate the answer having the word or phrase from the context passage. Here, the answer should be a shortest continous span from the passage.

Input: Consider Input: Context: The 1688 Glorious Revolution replaced James II and VII with his Protestant daughter Mary II and her husband William III and II. Since neither Mary or her sister Anne had surviving children, the 1701 Act of Settlement ensured a Protestant successor by excluding Catholics from the English and Irish thrones, and that of Great Britain after the 1707 Act of Union. When Anne became the last Stuart monarch in 1702, her heir was the distantly related but Protestant Sophia of Hanover, not her Catholic half-brother James Francis Edward. Sophia died two months before Anne in August 1714; her son became George I and the pro-Hanoverian Whigs controlled government for the next 30 years. 
 Question: What happened first, 1701 Act of Settlement or 1707 Act of Union?

Output: 1701 act of settlement


Input: Consider Input: Context: In the county, the population was spread out with 23.5% under the age of 18, 7.8% from 18 to 24, 28.5% from 25 to 44, 25.9% from 45 to 64, and 14.2% who were 65 years of age or older. The median age was 40 years. For every 100 females, there were 93.8 males. For every 100 females age 18 and over, there were 90.5 males. 
 Question: Which age group had the third most people?

Output: under the age of 18


Input: Consider Input: Context: A third of primary schoolchildren in China are suffering from psychological ill-health as a result of classroom stress and parental pressure, according to a study published on Tuesday. The problem is so bad that urgent measures are needed, warns the study, led by British and Chinese researchers. The investigation surveyed 2,191 pupils aged nine to 12 in nine schools in urban and rural Zhejiang, a ly prosperous coastal province in eastern China. Eighty-one percent of the youngsters said they worried "a lot" about exams, 63 percent feared being punished by their teacher, 44 percent had been physically bullied at least sometimes - with boys likelier to be victims than girls - and 73 percent had been physically punished by their parents. Most of the children complained they struggled to cope with the amount of homework they were assigned. Over one-third reported headaches or abdominal pains - psychosomatic symptoms of stress - at least once a week. The most stressed children reported incidence of aches or pains of four times a week. The investigation, led by Therese Hesketh, a professor at University College London (UCL) Centre for International Health and Development, pointed the finger at extreme competitiveness in China's education system, from the onset of primary school. "The competitive and punitive educational environment leads to high levels of stress and psychosomatic symptoms," the authors say. "Measures to reduce unnecessary stress on children in schools should be introduced urgently." The paper appears in Archives of Disease in Childhood, a peer-reviewed journal of the British Medical Association (BMA). The "urban" setting for the study was Hangzhou, the provincial capital of Zhejiang, while the "rural" setting was a poor county in Quzhou prefecture, in the west of the province. The study highlights some of the complexities that, it says, explain the demands for academic excellence and intolerance of failure. One factor is the country's dramatic rise in prosperity, which has created "previously unheard-off possibilities for upward mobility" and in turn stoked pressures on children to do well at school. Other reasons are China's one-child policy and the Confucian traditions of respect for parents and elders, filial piety, obedience and discipline. "The aspirations of many parents, who had limited educational opportunities themselves are now invested in their only children," it says. Previous studies on school-related stress and its impact on health are few and generally come from Scandinavia. A 2008 assessment among 10- to 13-year-old in Sweden found that 21 percent of boys of 30 percent of girls experienced headache, and 17 percent of boys and 28 percent of girls experienced abdominal pain at least once per week. 
 Question: What mainly caused schoolchildren to suffer from psychological ill-health?


Output: classroom stress and parental pressure