Input: Read this: From the caliphate's north-western African bases, a series of raids on coastal areas of the Visigothic Kingdom paved the way to the permanent occupation of most of Iberia by the Umayyads (starting in 711), and on into south-eastern Gaul (last stronghold at Narbonne in 759). Hisham's reign witnessed the end of expansion in the west, following the defeat of the Arab army by the Franks at the Battle of Tours in 732. In 739 a major Berber Revolt broke out in North Africa, which was subdued only with difficulty, but it was followed by the collapse of Umayyad authority in al-Andalus. In India the Arab armies were defeated by the south Indian Chalukya dynasty and by the north Indian Pratiharas Dynasty in the 8th century and the Arabs were driven out of India. In the Caucasus, the confrontation with the Khazars peaked under Hisham: the Arabs established Derbent as a major military base and launched several invasions of the northern Caucasus, but failed to subdue the nomadic Khazars. The conflict was arduous and bloody, and the Arab army even suffered a major defeat at the Battle of Marj Ardabil in 730. Marwan ibn Muhammad, the future Marwan II, finally ended the war in 737 with a massive invasion that is reported to have reached as far as the Volga, but the Khazars remained unsubdued.
Question: What was Marwan II's name before he became caliph?

Output: Marwan ibn Muhammad


Input: Read this: In India, Carnival is celebrated only in the state of Goa and a Roman Catholic tradition, where it is known as Intruz which means swindler while Entrudo, the appropriate word in Portuguese for Carnival. The largest celebration takes place in the city of Panjim which was part of Velha Conquista, Goa, but now is celebrate throughout the state. The tradition was introduced by the Portuguese who ruled Goa for over four centuries. On Tuesday preceding Ash Wednesday, the European Tradition of Fat Tuesday is celebrated with the partaking of eating of crepes also called as "AleBelle." The crepes are filled with freshly grated coconut and heat condensed coconut sap that sequentially converts it into a brown sweet molasses and additional heat concentration solidifies it to jaggery. The celebrations of Carnival peak for three days and nights and precede Ash Wednesday. When the legendary King Momo takes over the state. All-night parades occur throughout the state with bands, dances and floats and grand balls are held in the evenings.
Question: The largest Carnival celebration takes place in which city?

Output: Panjim


Input: Read this: The long-awaited takeover of Universal Pictures by MCA, Inc. happened in mid-1962 as part of the MCA-Decca Records merger. The company reverted in name to Universal Pictures. As a final gesture before leaving the talent agency business, virtually every MCA client was signed to a Universal contract. In 1964 MCA formed Universal City Studios, Inc., merging the motion pictures and television arms of Universal Pictures Company and Revue Productions (officially renamed as Universal Television in 1966). And so, with MCA in charge, Universal became a full-blown, A-film movie studio, with leading actors and directors under contract; offering slick, commercial films; and a studio tour subsidiary launched in 1964. Television production made up much of the studio's output, with Universal heavily committed, in particular, to deals with NBC (which later merged with Universal to form NBC Universal; see below) providing up to half of all prime time shows for several seasons. An innovation during this period championed by Universal was the made-for-television movie.
Question: What did MCA form in 1966?

Output: unanswerable


Input: Read this: A new delimitation of the federal territory has been discussed since the Federal Republic was founded in 1949 and even before. Committees and expert commissions advocated a reduction of the number of states; academics (Rutz, Miegel, Ottnad etc.) and politicians (Döring, Apel, and others) made proposals –  some of them far-reaching –  for redrawing boundaries but hardly anything came of these public discussions. Territorial reform is sometimes propagated by the richer states as a means to avoid or reduce fiscal transfers.
Question: What has been discussed since the Federal Republic was founded in 1949?

Output:
new delimitation of the federal territory