In this task, you are given a question and a context passage. You have to answer the question based on the given passage.

Input: Consider Input: Why did the Ottonian dynasty get replaced by the Salian dynasty?, Context: During the early High Middle Ages, Germany was ruled by the Ottonian dynasty, which struggled to control the powerful dukes ruling over territorial duchies tracing back to the Migration period. In 1024, they were replaced by the Salian dynasty, who famously clashed with the papacy under Emperor Henry IV (r. 1084–1105) over church appointments as part of the Investiture Controversy. His successors continued to struggle against the papacy as well as the German nobility. A period of instability followed the death of Emperor Henry V (r. 1111–25), who died without heirs, until Frederick I Barbarossa (r. 1155–90) took the imperial throne. Although he ruled effectively, the basic problems remained, and his successors continued to struggle into the 13th century. Barbarossa's grandson Frederick II (r. 1220–1250), who was also heir to the throne of Sicily through his mother, clashed repeatedly with the papacy. His court was famous for its scholars and he was often accused of heresy. He and his successors faced many difficulties, including the invasion of the Mongols into Europe in the mid-13th century. Mongols first shattered the Kievan Rus' principalities and then invaded Eastern Europe in 1241, 1259, and 1287.

Output: struggled to control the powerful dukes ruling over territorial duchies


Input: Consider Input: What benefits outside the show do the high end sponsors enjoy?, Context: The dominance of American Idol in the ratings had made it the most profitable show in U.S. TV for many years. The show was estimated to generate $900 million for the year 2004 through sales of TV ads, albums, merchandise and concert tickets. By season seven, the show was estimated to earn around $900 million from its ad revenue alone, not including ancillary sponsorship deals and other income. One estimate puts the total TV revenue for the first eight seasons of American at $6.4 billion. Sponsors that bought fully integrated packages can expect a variety of promotions of their products on the show, such as product placement, adverts and product promotion integrated into the show, and various promotional opportunities. Other off-air promotional partners pay for the rights to feature "Idol" branding on their packaging, products and marketing programs. American Idol also partnered with Disney in its theme park attraction The American Idol Experience.

Output: rights to feature "Idol" branding on their packaging, products and marketing programs


Input: Consider Input: Which country participated at the Geneva summit together with the three western democracies?, Context: In 1955 American nuclear arms policy became one aimed primarily at arms control as opposed to disarmament. The failure of negotiations over arms until 1955 was due mainly to the refusal of the Russians to permit any sort of inspections. In talks located in London that year, they expressed a willingness to discuss inspections; the tables were then turned on Eisenhower, when he responded with an unwillingness on the part of the U.S. to permit inspections. In May of that year the Russians agreed to sign a treaty giving independence to Austria, and paved the way for a Geneva summit with the U.S., U.K. and France. At the Geneva Conference Eisenhower presented a proposal called "Open Skies" to facilitate disarmament, which included plans for Russia and the U.S. to provide mutual access to each other's skies for open surveillance of military infrastructure. Russian leader Nikita Khrushchev dismissed the proposal out of hand.


Output: Russia