Input: Hellenistic period
Ancient Greece had traditionally been a fractious collection of fiercely independent city-states. After the Peloponnesian War (431404 BC), Greece had fallen under a Spartan hegemony, in which Sparta was pre-eminent but not all-powerful. Spartan hegemony was succeeded by a Theban one after the Battle of Leuctra (371 BC), but after the Battle of Mantinea (362 BC), all of Greece was so weakened that no one state could claim pre-eminence. It was against this backdrop, that the ascendancy of Macedon began, under king Philip II. Macedon was located at the periphery of the Greek world, and although its royal family claimed Greek descent, the Macedonians themselves were looked down upon as semi-barbaric by the rest of the Greeks. However, Macedon had a relatively strong and centralised government, and compared to most Greek states, directly controlled a large area.

What hegemoney replaced Sparta after the Battle of Leuctra?
Output: Theban

Input: Pitch (music)
For example, one might refer to the A above middle C as a', A4, or 440 Hz. In standard Western equal temperament, the notion of pitch is insensitive to "spelling": the description "G4 double sharp" refers to the same pitch as A4; in other temperaments, these may be distinct pitches. Human perception of musical intervals is approximately logarithmic with respect to fundamental frequency: the perceived interval between the pitches "A220" and "A440" is the same as the perceived interval between the pitches A440 and A880. Motivated by this logarithmic perception, music theorists sometimes represent pitches using a numerical scale based on the logarithm of fundamental frequency. For example, one can adopt the widely used MIDI standard to map fundamental frequency, f, to a real number, p, as follows

The description "G4 double sharp" refers to the same pitch as what?
Output: A4

Input: Ministry of Defence (United Kingdom)
The current Chief of the Defence Staff, the professional head of the British Armed Forces, is General Sir Nicholas Houghton, late Green Howards. He is supported by the Vice Chief of the Defence Staff, by the professional heads of the three services of HM Armed Forces and by the Commander of Joint Forces Command.

The professional heads of what three services support the Chief of the Defence Staff?
Output: HM Armed Forces

Input: Gamal Abdel Nasser
Nasser made Egypt fully independent of British influence, and the country became a major power in the developing world under his leadership. One of Nasser's main domestic efforts was to establish social justice, which he deemed a prerequisite to liberal democracy. During his presidency, ordinary citizens enjoyed unprecedented access to housing, education, jobs, health services and nourishment, as well as other forms of social welfare, while feudalistic influence waned. By the end of his presidency, employment and working conditions improved considerably, although poverty was still high in the country and substantial resources allocated for social welfare had been diverted to the war effort.

What had drained resources from Nasser's social programs?
Output:
war effort