Input: Article: The Battle for Mexico City was the series of engagements from September 8 to September 15, 1847, in the general vicinity of Mexico City during the MexicanAmerican War. Included are major actions at the battles of Molino del Rey and Chapultepec, culminating with the fall of Mexico City. The U.S. Army under Winfield Scott scored a major success that ended the war. The American invasion into the Federal District was first resisted during the Battle of Churubusco on August 8 where the Saint Patrick's Battalion, which was composed primarily of Catholic Irish and German immigrants, but also Canadians, English, French, Italians, Poles, Scots, Spaniards, Swiss, and Mexican people, fought for the Mexican cause repelling the American attacks. After defeating the Saint Patrick's Battalion, the MexicanAmerican War came to a close after the United States deployed combat units deep into Mexico resulting in the capture of Mexico City and Veracruz by the U.S. Army's 1st, 2nd, 3rd and 4th Divisions. The invasion culminated with the storming of Chapultepec Castle in the city itself.

Now answer this question: Who commanded the U.S. Army in the battle against Mexico City?

Output: Winfield Scott

Input: Article: Kievan Rus' begins with the rule (882912) of Prince Oleg, who extended his control from Novgorod south along the Dnieper river valley in order to protect trade from Khazar incursions from the east and moved his capital to the more strategic Kiev. Sviatoslav I (died 972) achieved the first major expansion of Kievan Rus' territorial control, fighting a war of conquest against the Khazar Empire. Vladimir the Great (9801015) introduced Christianity with his own baptism and, by decree, that of all the inhabitants of Kiev and beyond. Kievan Rus' reached its greatest extent under Yaroslav I (10191054); his sons assembled and issued its first written legal code, the Rus' Justice, shortly after his death.

Now answer this question: What year was Kievan Rus became a territory?

Output: 882

Input: Article: Mosaic has a long history, starting in Mesopotamia in the 3rd millennium BC. Pebble mosaics were made in Tiryns in Mycenean Greece; mosaics with patterns and pictures became widespread in classical times, both in Ancient Greece and Ancient Rome. Early Christian basilicas from the 4th century onwards were decorated with wall and ceiling mosaics. Mosaic art flourished in the Byzantine Empire from the 6th to the 15th centuries; that tradition was adopted by the Norman kingdom in Sicily in the 12th century, by eastern-influenced Venice, and among the Rus in Ukraine. Mosaic fell out of fashion in the Renaissance, though artists like Raphael continued to practise the old technique. Roman and Byzantine influence led Jews to decorate 5th and 6th century synagogues in the Middle East with floor mosaics.

Now answer this question: Who besides the Romans did the Jewish people get influenced by?

Output:
Byzantine