Input: Middle Ages
The first years of the 14th century were marked by famines, culminating in the Great Famine of 131517. The causes of the Great Famine included the slow transition from the Medieval Warm Period to the Little Ice Age, which left the population vulnerable when bad weather caused crop failures. The years 131314 and 131721 were excessively rainy throughout Europe, resulting in widespread crop failures. The climate changewhich resulted in a declining average annual temperature for Europe during the 14th centurywas accompanied by an economic downturn.

In what years did the Great Famine occur?
Output: 131517

Input: British Isles
The population of England rose rapidly during the 19th and 20th centuries whereas the populations of Scotland and Wales have shown little increase during the 20th century, with the population of Scotland remaining unchanged since 1951. Ireland for most of its history comprised a population proportionate to its land area (about one third of the total population). However, since the Great Irish Famine, the population of Ireland has fallen to less than one tenth of the population of the British Isles. The famine, which caused a century-long population decline, drastically reduced the Irish population and permanently altered the demographic make-up of the British Isles. On a global scale, this disaster led to the creation of an Irish diaspora that numbers fifteen times the current population of the island.

Which two areas in the British Isles hasn't experienced a large population growth in the last one hundred years?
Output: Scotland and Wales

Input: Samoa
After repeated efforts by the Samoan independence movement, the New Zealand Western Samoa Act 1961 of 24 November 1961 granted Samoa independence effective 1 January 1962, upon which the Trusteeship Agreement terminated. Samoa also signed a friendship treaty with New Zealand. Samoa, the first small-island country in the Pacific to become independent, joined the Commonwealth of Nations on 28 August 1970. While independence was achieved at the beginning of January, Samoa annually celebrates 1 June as its independence day.

What act gave Samoa independence?
Output: New Zealand Western Samoa Act 1961

Input: Seven Years%27 War
During the war, the Seven Nations of Canada were allied with the French. These were Native Americans of the Laurentian valleythe Algonquin, the Abenaki, the Huron, and others. Although the Algonquin tribes and the Seven Nations were not directly concerned with the fate of the Ohio River Valley, they had been victims of the Iroquois Confederation. The Iroquois had encroached on Algonquin territory and pushed the Algonquins west beyond Lake Michigan. Therefore, the Algonquin and the Seven Nations were interested in fighting against the Iroquois. Throughout New England, New York, and the North-west Native American tribes formed differing alliances with the major belligerents. The Iroquois, dominant in what is now Upstate New York, sided with the British but did not play a large role in the war.

How valuable was the Iroquois alliance with Britain?
Output:
The Iroquois, dominant in what is now Upstate New York, sided with the British but did not play a large role in the war