Input: Article: In the first half of the twentieth century, almost all elevators had no automatic positioning of the floor on which the cab would stop. Some of the older freight elevators were controlled by switches operated by pulling on adjacent ropes. In general, most elevators before WWII were manually controlled by elevator operators using a rheostat connected to the motor. This rheostat (see picture) was enclosed within a cylindrical container about the size and shape of a cake. This was mounted upright or sideways on the cab wall and operated via a projecting handle, which was able to slide around the top half of the cylinder.

Now answer this question: Until the mid 1900s most elevators lacked what?

Output: automatic positioning of the floor on which the cab would stop

Input: Article: The Attalid dynasty of Pergamum lasted little longer; a Roman ally until the end, its final king Attalus III died in 133 BC without an heir, and taking the alliance to its natural conclusion, willed Pergamum to the Roman Republic. The final Greek resistance came in 88 BC, when King Mithridates of Pontus rebelled against Rome, captured Roman held Anatolia, and massacred up to 100,000 Romans and Roman allies across Asia Minor. Many Greek cities, including Athens, overthrew their Roman puppet rulers and joined him in the Mithridatic wars. When he was driven out of Greece by the Roman general Lucius Cornelius Sulla, who laid siege to Athens and razed the city. Mithridates was finally defeated by Gnaeus Pompeius Magnus (Pompey the Great) in 65 BC. Further ruin was brought to Greece by the Roman civil wars, which were partly fought in Greece. Finally, in 27 BC, Augustus directly annexed Greece to the new Roman Empire as the province of Achaea. The struggles with Rome had left Greece depopulated and demoralised. Nevertheless, Roman rule at least brought an end to warfare, and cities such as Athens, Corinth, Thessaloniki and Patras soon recovered their prosperity.

Now answer this question: Who was the final king of the Attalid dynasty?

Output: Attalus III

Input: Article: Han Chinese farmers were resettled from north China by the Qing to the area along the Liao River in order to restore the land to cultivation. Wasteland was reclaimed by Han Chinese squatters in addition to other Han who rented land from Manchu landlords. Despite officially prohibiting Han Chinese settlement on the Manchu and Mongol lands, by the 18th century the Qing decided to settle Han refugees from northern China who were suffering from famine, floods, and drought into Manchuria and Inner Mongolia so that Han Chinese farmed 500,000 hectares in Manchuria and tens of thousands of hectares in Inner Mongolia by the 1780s. Qianlong allowed Han Chinese peasants suffering from drought to move into Manchuria despite him issuing edicts in favor of banning them from 1740–1776. Chinese tenant farmers rented or even claimed title to land from the "imperial estates" and Manchu Bannerlands in the area. Besides moving into the Liao area in southern Manchuria, the path linking Jinzhou, Fengtian, Tieling, Changchun, Hulun, and Ningguta was settled by Han Chinese during the Qianlong Emperor's rule, and Han Chinese were the majority in urban areas of Manchuria by 1800. To increase the Imperial Treasury's revenue, the Qing sold formerly Manchu only lands along the Sungari to Han Chinese at the beginning of the Daoguang Emperor's reign, and Han Chinese filled up most of Manchuria's towns by the 1840s according to Abbe Huc.

Now answer this question: Where were starving Han sent by the Qing?

Output:
Manchuria and Inner Mongolia