Problem: Extract the answer to the question from the following context. Question: What were the previous occupations of first generation cardinals? Context: There is disagreement about the origin of the term, but general consensus that "cardinalis" from the word cardo (meaning 'pivot' or 'hinge') was first used in late antiquity to designate a bishop or priest who was incorporated into a church for which he had not originally been ordained. In Rome the first persons to be called cardinals were the deacons of the seven regions of the city at the beginning of the 6th century, when the word began to mean “principal,” “eminent,” or "superior." The name was also given to the senior priest in each of the "title" churches (the parish churches) of Rome and to the bishops of the seven sees surrounding the city. By the 8th century the Roman cardinals constituted a privileged class among the Roman clergy. They took part in the administration of the church of Rome and in the papal liturgy. By decree of a synod of 769, only a cardinal was eligible to become pope. In 1059, during the pontificate of Nicholas II, cardinals were given the right to elect the pope under the Papal Bull In nomine Domini. For a time this power was assigned exclusively to the cardinal bishops, but the Third Lateran Council in 1179 gave back the right to the whole body of cardinals. Cardinals were granted the privilege of wearing the red hat by Pope Innocent IV in 1244.

A: bishop or priest

Problem: Given the question: Extract the answer to the question from the following context. Question: Officers will generally receive what upon graduation from a civilian university? Context: Canada's Armed forces operate out of 27 Canadian Forces bases (CFB) across the country, including NDHQ. This number has been gradually reduced since the 1970s with bases either being closed or merged. Both officers and non-commissioned members receive their basic training at the Canadian Forces Leadership and Recruit School in Saint-Jean-sur-Richelieu. Officers will generally either directly enter the Canadian Armed Forces with a degree from a civilian university, or receive their commission upon graduation from the Royal Military College of Canada. Specific element and trade training is conducted at a variety of institutions throughout Canada, and to a lesser extent, the world.
++++++++++++++++++++++++++++++++
The answer is:
degree

input question: Extract the answer to the question from the following context. Question: what policy is mentioned first? Context: Gorbachev also radically expanded the scope of Glasnost, stating that no subject was off-limits for open discussion in the media. Even so, the cautious Soviet intelligentsia took almost a year to begin pushing the boundaries to see if he meant what he said. For the first time, the Communist Party leader had appealed over the heads of Central Committee members for the people's support in exchange for expansion of liberties. The tactic proved successful: Within two years political reform could no longer be sidetracked by Party "conservatives." An unintended consequence was that having saved reform, Gorbachev's move ultimately killed the very system it was designed to save.???
output answer: Glasnost

Extract the answer to the question from the following context. Question: How long did it take to curb the protests and civil unrest? Context: On the next day, December 18, protests turned into civil unrest as clashes between troops, volunteers, militia units, and Kazakh students turned into a wide-scale confrontation. The clashes could only be controlled on the third day. The Almaty events were followed by smaller protests and demonstrations in Shymkent, Pavlodar, Karaganda, and Taldykorgan. Reports from Kazakh SSR authorities estimated that the riots drew 3,000 people. Other estimates are of at least 30,000 to 40,000 protestors with 5,000 arrested and jailed, and an unknown number of casualties. Jeltoqsan leaders say over 60,000 Kazakhs participated in the protests. According to the Kazakh SSR government, there were two deaths during the riots, including a volunteer police worker and a student. Both of them had died due to blows to the head. About 100 others were detained and several others were sentenced to terms in labor camps. Sources cited by the Library of Congress claimed that at least 200 people died or were summarily executed soon thereafter; some accounts estimate casualties at more than 1,000. The writer Mukhtar Shakhanov claimed that a KGB officer testified that 168 protesters were killed, but that figure remains unconfirmed.
----
Answer: clashes could only be controlled on the third day

Q: Extract the answer to the question from the following context. Question: Why was a contract with the gods made? Context: Extraordinary circumstances called for extraordinary sacrifice: in one of the many crises of the Second Punic War, Jupiter Capitolinus was promised every animal born that spring (see ver sacrum), to be rendered after five more years of protection from Hannibal and his allies. The "contract" with Jupiter is exceptionally detailed. All due care would be taken of the animals. If any died or were stolen before the scheduled sacrifice, they would count as already sacrificed, since they had already been consecrated. Normally, if the gods failed to keep their side of the bargain, the offered sacrifice would be withheld. In the imperial period, sacrifice was withheld following Trajan's death because the gods had not kept the Emperor safe for the stipulated period. In Pompeii, the Genius of the living emperor was offered a bull: presumably a standard practise in Imperial cult, though minor offerings (incense and wine) were also made.
A: protection

[Q]: Extract the answer to the question from the following context. Question: What did the Ottomans seek to accomplish? Context: The Ottoman economic mind was closely related to the basic concepts of state and society in the Middle East in which the ultimate goal of a state was consolidation and extension of the ruler's power, and the way to reach it was to get rich resources of revenues by making the productive classes prosperous. The ultimate aim was to increase the state revenues without damaging the prosperity of subjects to prevent the emergence of social disorder and to keep the traditional organization of the society intact.
****
[A]:
consolidation and extension of the ruler's power