Input: Greeks
The Eastern Roman Empire today conventionally named the Byzantine Empire, a name not in use during its own time became increasingly influenced by Greek culture after the 7th century, when Emperor Heraclius (AD 575 - 641) decided to make Greek the empire's official language. Certainly from then on, but likely earlier, the Roman and Greek cultures were virtually fused into a single Greco-Roman world. Although the Latin West recognized the Eastern Empire's claim to the Roman legacy for several centuries, after Pope Leo III crowned Charlemagne, king of the Franks, as the "Roman Emperor" on 25 December 800, an act which eventually led to the formation of the Holy Roman Empire, the Latin West started to favour the Franks and began to refer to the Eastern Roman Empire largely as the Empire of the Greeks (Imperium Graecorum).

Who ruled Rome during this time period ?
Output: Emperor Heraclius (AD 575 - 641)

Input: Space Race
Gagarin's flight changed this; now Kennedy sensed the humiliation and fear on the part of the American public over the Soviet lead. He sent a memo dated April 20, 1961, to Vice President Lyndon B. Johnson, asking him to look into the state of America's space program, and into programs that could offer NASA the opportunity to catch up. The two major options at the time seemed to be, either establishment of an Earth orbital space station, or a manned landing on the Moon. Johnson in turn consulted with von Braun, who answered Kennedy's questions based on his estimates of US and Soviet rocket lifting capability. Based on this, Johnson responded to Kennedy, concluding that much more was needed to reach a position of leadership, and recommending that the manned Moon landing was far enough in the future that the US had a fighting chance to achieve it first.

President Kennedy sent a letter on April 20, 1961 to who about the US's space program?
Output: Vice President Lyndon B. Johnson

Input: Galicia (Spain)
From that moment Galicia, which participated to a minor extent in the American expansion of the Spanish Empire, found itself at the center of the Atlantic wars fought by Spain against the French and the Protestant powers of England and the Netherlands, whose privateers attacked the coastal areas, but major assaults were not common as the coastline was difficult and the harbors easily defended. The most famous assaults were upon the city of Vigo by Sir Francis Drake in 1585 and 1589, and the siege of A Coruna in 1589 by the English Armada. Galicia also suffered occasional slave raids by Barbary pirates, but not as frequently as the Mediterranean coastal areas. The most famous Barbary attack was the bloody sack of the town of Cangas in 1617. At the time, the king's petitions for money and troops became more frequent, due to the human and economic exhaustion of Castile; the Junta of the Kingdom of Galicia (the local Cortes or representative assembly) was initially receptive to these petitions, raising large sums, accepting the conscription of the men of the kingdom, and even commissioning a new naval squadron which was sustained with the incomes of the Kingdom.

Where did Sir Francis Drake attack in 1585 and again in 1589?
Output: Vigo

Input: Planck constant
The photoelectric effect is the emission of electrons (called "photoelectrons") from a surface when light is shone on it. It was first observed by Alexandre Edmond Becquerel in 1839, although credit is usually reserved for Heinrich Hertz, who published the first thorough investigation in 1887. Another particularly thorough investigation was published by Philipp Lenard in 1902. Einstein's 1905 paper discussing the effect in terms of light quanta would earn him the Nobel Prize in 1921, when his predictions had been confirmed by the experimental work of Robert Andrews Millikan. The Nobel committee awarded the prize for his work on the photo-electric effect, rather than relativity, both because of a bias against purely theoretical physics not grounded in discovery or experiment, and dissent amongst its members as to the actual proof that relativity was real.

What did Einstein with the 1921 Nobel Prize for?
Output:
his work on the photo-electric effect