Input: Article: Judging by the historical records, by approximately 1000 AD the predominant ethnic group over much of modern European Russia, Ukraine and Belarus was the Eastern branch of the Slavs, speaking a closely related group of dialects. The political unification of this region into Kievan Rus' in about 880, from which modern Russia, Ukraine and Belarus trace their origins, established Old East Slavic as a literary and commercial language. It was soon followed by the adoption of Christianity in 988 and the introduction of the South Slavic Old Church Slavonic as the liturgical and official language. Borrowings and calques from Byzantine Greek began to enter the Old East Slavic and spoken dialects at this time, which in their turn modified the Old Church Slavonic as well.

Now answer this question: What was the main language in Kievan Rus'?

Output: Old East Slavic

Input: Article: Law and finance have long been driving forces in the economy. The city is home to both the United States Court of Appeals for the Fourth Circuit, one of 13 United States courts of appeals, and the Federal Reserve Bank of Richmond, one of 12 Federal Reserve Banks, as well as offices for international companies such as Genworth Financial, CapitalOne, Philip Morris USA, and numerous other banks and brokerages. Richmond is also home to four of the largest law firms in the United States: Hunton & Williams, McGuireWoods, Williams Mullen, and LeClairRyan. Another law firm with a major Richmond presence is Troutman Sanders, which merged with Richmond-based Mays & Valentine LLP in 2001.

Now answer this question: Along with Philip Morris and CapitalOne, what prominent corporation is present in Richmond?

Output: Genworth Financial

Input: Article: Although the new licensing laws prevented new beer houses from being created, those already in existence were allowed to continue and many did not close until nearly the end of the 19th century. A very small number remained into the 21st century. The vast majority of the beer houses applied for the new licences and became full pubs. These usually small establishments can still be identified in many towns, seemingly oddly located in the middle of otherwise terraced housing part way up a street, unlike purpose-built pubs that are usually found on corners or road junctions. Many of today's respected real ale micro-brewers in the UK started as home based Beer House brewers under the 1830 Act.

Now answer this question: By the end of what century were most beer houses closed?

Output:
19th