Input: Pacific War
The battle secured the beachheads of the U.S. Sixth Army on Leyte against attack from the sea, broke the back of Japanese naval power and opened the way for an advance to the Ryukyu Islands in 1945. The only significant Japanese naval operation afterwards was the disastrous Operation Ten-Go in April 1945. Kurita's force had begun the battle with five battleships; when he returned to Japan, only Yamato was combat-worthy. Nishimura's sunken Yamashiro was the last battleship in history to engage another in combat.

What were the Leyte beachheads of the U.S. Sixth Army secured from?
Output: attack from the sea

Input: Bern
The Canton of Bern school system provides one year of non-obligatory kindergarten, followed by six years of primary school. This is followed by three years of obligatory lower secondary school where the pupils are separated according to ability and aptitude. Following the lower secondary pupils may attend additional schooling or they may enter an apprenticeship.

What seperates the children in secondary school?
Output: ability and aptitude

Input: Sanskrit
Since the late 18th century, Sanskrit has been transliterated using the Latin alphabet. The system most commonly used today is the IAST (International Alphabet of Sanskrit Transliteration), which has been the academic standard since 1888. ASCII-based transliteration schemes have also evolved because of difficulties representing Sanskrit characters in computer systems. These include Harvard-Kyoto and ITRANS, a transliteration scheme that is used widely on the Internet, especially in Usenet and in email, for considerations of speed of entry as well as rendering issues. With the wide availability of Unicode-aware web browsers, IAST has become common online. It is also possible to type using an alphanumeric keyboard and transliterate to Devanagari using software like Mac OS X's international support.

From what time has the Latin alphabet been used to transcribe Sanskrit?
Output: late 18th century

Input: Cotton
Successful cultivation of cotton requires a long frost-free period, plenty of sunshine, and a moderate rainfall, usually from 600 to 1,200 mm (24 to 47 in). Soils usually need to be fairly heavy, although the level of nutrients does not need to be exceptional. In general, these conditions are met within the seasonally dry tropics and subtropics in the Northern and Southern hemispheres, but a large proportion of the cotton grown today is cultivated in areas with less rainfall that obtain the water from irrigation. Production of the crop for a given year usually starts soon after harvesting the preceding autumn. Cotton is naturally a perennial but is grown as an annual to help control pests. Planting time in spring in the Northern hemisphere varies from the beginning of February to the beginning of June. The area of the United States known as the South Plains is the largest contiguous cotton-growing region in the world. While dryland (non-irrigated) cotton is successfully grown in this region, consistent yields are only produced with heavy reliance on irrigation water drawn from the Ogallala Aquifer. Since cotton is somewhat salt and drought tolerant, this makes it an attractive crop for arid and semiarid regions. As water resources get tighter around the world, economies that rely on it face difficulties and conflict, as well as potential environmental problems. For example, improper cropping and irrigation practices have led to desertification in areas of Uzbekistan, where cotton is a major export. In the days of the Soviet Union, the Aral Sea was tapped for agricultural irrigation, largely of cotton, and now salination is widespread.

Why is cotton grown as an annual crop?
Output:
control pests