Input: 2008 Summer Olympics torch relay
China: The torch returned to China for the first time since April. The torch arrived in Sanya, Hainan on May 4 with celebrations attended by International Olympic Committee (IOC) officials and Chinese big names like Jackie Chan. The entire relay through Mainland China was largely a success with many people welcoming the arrival of the torch along the way.

After its April departure, when did the torch return to China?
Output: May 4

Input: Hellenistic period
The vast Seleucid Empire was, like Egypt, mostly dominated by a Greco-Macedonian political elite. The Greek population of the cities who formed the dominant elite were reinforced by emigration from Greece. These cities included newly founded colonies such as Antioch, the other cities of the Syrian tetrapolis, Seleucia (north of Babylon) and Dura-Europos on the Euphrates. These cities retained traditional Greek city state institutions such as assemblies, councils and elected magistrates, but this was a facade for they were always controlled by the royal Seleucid officials. Apart from these cities, there were also a large number of Seleucid garrisons (choria), military colonies (katoikiai) and Greek villages (komai) which the Seleucids planted throughout the empire to cement their rule. This 'Greco-Macedonian' population (which also included the sons of settlers who had married local women) could make up a phalanx of 35,000 men (out of a total Seleucid army of 80,000) during the reign of Antiochos III. The rest of the army was made up of native troops. Antiochus III the great conducted several vigorous campaigns to retake all the lost provinces of the empire since the death of Seleucus I. After being defeated by Ptolemy IV's forces at Raphia (217), Antiochus III led a long campaign to the east to subdue the far eastern breakaway provinces (212-205) including Bactria, Parthia, Ariana, Sogdiana, Gedrosia and Drangiana. He was successful, bringing back most of these provinces into at least nominal vassalage and receiving tribute from their rulers. After the death of Ptolemy IV (204), Antiochus took advantage of the weakness of Egypt to conquer Coele-Syria in the fifth Syrian war (202-195). He then began expanding his influence into Pergamene territory in Asia and crossed into Europe, fortifying Lysimachia on the hellespont, but his expansion into Anatolia and Greece was abruptly halted after a decisive defeat at the Battle of Magnesia (190 BCE). In the Treaty of Apamea which ended the war, Antiochus lost all of his territories in Anatolia west of the Taurus and was forced to pay a large indemnity of 15,000 talents.

Who defeated Antiochus III at Raphia?
Output: Ptolemy IV

Input: Nintendo Entertainment System
Near the end of the NES's lifespan, upon the release of the AV Famicom and the top-loading NES 2, the design of the game controllers was modified slightly. Though the original button layout was retained, the redesigned device abandoned the brick shell in favor of a dog bone shape. In addition, the AV Famicom joined its international counterpart and dropped the hardwired controllers in favor of detachable controller ports. However, the controllers included with the Famicom AV had cables which were 90 cm (3 feet) long, as opposed to the standard 180 cm(6 feet) of NES controllers.

the original design of the controller was what shape?
Output: brick

Input: Hellenistic period
Hellenistic warfare was a continuation of the military developments of Iphicrates and Philip II of Macedon, particularly his use of the Macedonian Phalanx, a dense formation of pikemen, in conjunction with heavy companion cavalry. Armies of the Hellenistic period differed from those of the classical period in being largely made up of professional soldiers and also in their greater specialization and technical proficiency in siege warfare. Hellenistic armies were significantly larger than those of classical Greece relying increasingly on Greek mercenaries (misthophoroi; men-for-pay) and also on non-Greek soldiery such as Thracians, Galatians, Egyptians and Iranians. Some ethnic groups were known for their martial skill in a particular mode of combat and were highly sought after, including Tarantine cavalry, Cretan archers, Rhodian slingers and Thracian peltasts. This period also saw the adoption of new weapons and troop types such as Thureophoroi and the Thorakitai who used the oval Thureos shield and fought with javelins and the machaira sword. The use of heavily armored cataphracts and also horse archers was adopted by the Seleucids, Greco-Bactrians, Armenians and Pontus. The use of war elephants also became common. Seleucus received Indian war elephants from the Mauryan empire, and used them to good effect at the battle of Ipsus. He kept a core of 500 of them at Apameia. The Ptolemies used the smaller African elephant.

What kind of elephant did the Ptolemies use?
Output:
African elephant