input question: Question: "After 1573, who could be elected as monarch?" Context: "Until the death of Sigismund II Augustus, the last king of the Jagiellonian dynasty, monarchs could be elected from within only the royal family. However, starting from 1573, practically any Polish noble or foreigner of royal blood could become a PolishLithuanian monarch. Every newly elected king was supposed to sign two documentsthe Pacta conventa ("agreed pacts")a confirmation of the king's pre-election promises, and Henrican articles (artykuy henrykowskie, named after the first freely elected king, Henry of Valois). The latter document served as a virtual Polish constitution and contained the basic laws of the Commonwealth:" Answer:???
output answer: practically any Polish noble or foreigner of royal blood

input question: Question: "What phenomenon was Thuringia experiencing from 2008 to 2012?" Context: "Migration plays an important role in Thuringia. The internal migration shows a strong tendency from rural areas towards the big cities. From 2008 to 2012, there was a net migration from Thuringia to Erfurt of +6,700 persons (33 per 1000 inhabitants), +1,800 to Gera (19 per 1000), +1,400 to Jena (14 per 1000), +1,400 to Eisenach (33 per 1000) and +1,300 to Weimar (21 per 1000). Between Thuringia and the other German states, the balance is negative: In 2012, Thuringia lost 6,500 persons to other federal states, the most to Bavaria, Saxony, Hesse and Berlin. Only with Saxony-Anhalt and Brandenburg the balance is positive. The international migration is fluctuating heavily. In 2009, the balance was +700, in 2010 +1,800, in 2011 +2,700 and in 2012 +4,800. The most important countries of origin of the Thuringia migrants from 2008 to 2012 were Poland (+1,700), Romania (+1,200), Afghanistan (+1,100) and Serbia/Montenegro/Kosovo (+1,000), whereas the balance was negative with Switzerland (2,800) and Austria (900)." Answer:???
output answer: internal migration

input question: Question: "What role did Rota play in Neumann and Ulam's relationship?" Context: "Von Neumann's closest friend in the United States was mathematician Stanislaw Ulam. A later friend of Ulam's, Gian-Carlo Rota writes: "They would spend hours on end gossiping and giggling, swapping Jewish jokes, and drifting in and out of mathematical talk." When von Neumann was dying in hospital, every time Ulam would visit he would come prepared with a new collection of jokes to cheer up his friend. He believed that much of his mathematical thought occurred intuitively, and he would often go to sleep with a problem unsolved, and know the answer immediately upon waking up." Answer:???
output answer: writes

input question: Question: "Pasha is a what name?" Context: "Although the Estonian orthography is generally guided by phonemic principles, with each grapheme corresponding to one phoneme, there are some historical and morphological deviations from this: for example preservation of the morpheme in declension of the word (writing b, g, d in places where p, k, t is pronounced) and in the use of 'i' and 'j'.[clarification needed] Where it is very impractical or impossible to type s and z, they are substituted with sh and zh in some written texts, although this is considered incorrect. Otherwise, the h in sh represents a voiceless glottal fricative, as in Pasha (pas-ha); this also applies to some foreign names." Answer:???
output answer:
foreign