Input: Prime minister
The United Kingdom's constitution, being uncodified and largely unwritten, makes no mention of a prime minister. Though it had de facto existed for centuries, its first mention in official state documents did not occur until the first decade of the twentieth century. Accordingly, it is often said "not to exist", indeed there are several instances of parliament declaring this to be the case. The prime minister sits in the cabinet solely by virtue of occupying another office, either First Lord of the Treasury (office in commission), or more rarely Chancellor of the Exchequer (the last of whom was Balfour in 1905).

Who was the last prime minister to serve simultaneously as Chancellor of the Exchequer?
Output: Balfour

Input: Gramophone record
Beginning in 1939, Dr. Peter Goldmark and his staff at Columbia Records and at CBS Laboratories undertook efforts to address problems of recording and playing back narrow grooves and developing an inexpensive, reliable consumer playback system. It took about eight years of study, except when it was suspended because of World War II. Finally, the 12-inch (30 cm) Long Play (LP) 33 13 rpm microgroove record album was introduced by the Columbia Record Company at a New York press conference on June 18, 1948.

In what city was the 12 in LP released?
Output: New York

Input: Muslim world
One of the common definitions for "Islamic philosophy" is "the style of philosophy produced within the framework of Islamic culture." Islamic philosophy, in this definition is neither necessarily concerned with religious issues, nor is exclusively produced by Muslims. The Persian scholar Ibn Sina (Avicenna) (9801037) had more than 450 books attributed to him. His writings were concerned with various subjects, most notably philosophy and medicine. His medical textbook The Canon of Medicine was used as the standard text in European universities for centuries. He also wrote The Book of Healing, an influential scientific and philosophical encyclopedia.

What subjects did Ibn Sina mainly write about?
Output: philosophy and medicine

Input: Space Race
The two nations planned a joint mission to dock the last US Apollo craft with a Soyuz, known as the Apollo-Soyuz Test Project (ASTP). To prepare, the US designed a docking module for the Apollo that was compatible with the Soviet docking system, which allowed any of their craft to dock with any other (e.g. Soyuz/Soyuz as well as Soyuz/Salyut). The module was also necessary as an airlock to allow the men to visit each other's craft, which had incompatible cabin atmospheres. The USSR used the Soyuz 16 mission in December 1974 to prepare for ASTP.

ASTP stands for what?
Output:
Apollo-Soyuz Test Project