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: Which ship is older, the America, or the Enterprise?, Context: With the deactivation of USS Enterprise in December 2012, the U.S. fleet comprises 10 supercarriers. The House Armed Services Seapower subcommittee on 24 July 2007, recommended seven or maybe eight new carriers (one every four years). However, the debate has deepened over budgeting for the $12–14.5 billion (plus $12 billion for development and research) for the 100,000 ton Gerald R. Ford-class carrier (estimated service 2016) compared to the smaller $2 billion 45,000 ton America-class amphibious assault ships, which are able to deploy squadrons of F-35Bs. The first of this class, USS America, is now in active service with another, USS Tripoli, under construction and 9 more are planned.

Output: Enterprise


Input: Consider Input: Why is American Idol said to have a streak?, Context: Seasonal rankings (based on average total viewers per episode) of American Idol. It holds the distinction of having the longest winning streak in the Nielsen annual television ratings; it became the highest-rated of all television programs in the United States overall for an unprecedented seven consecutive years, or eight consecutive (and total) years when either its performance or result show was ranked number one overall.


Output: consecutive years