Problem: Extract the answer to the question from the following context. Question: What are the ancestors of birds? Context: The fossil record indicates that birds are the last surviving dinosaurs, having evolved from feathered ancestors within the theropod group of saurischian dinosaurs. True birds first appeared during the Cretaceous period, around 100 million years ago. DNA-based evidence finds that birds diversified dramatically around the time of the Cretaceous–Paleogene extinction event that killed off all other dinosaurs. Birds in South America survived this event and then migrated to other parts of the world via multiple land bridges while diversifying during periods of global cooling. Primitive bird-like dinosaurs that lie outside class Aves proper, in the broader group Avialae, have been found dating back to the mid-Jurassic period. Many of these early "stem-birds", such as Archaeopteryx, were not yet capable of fully powered flight, and many retained primitive characteristics like toothy jaws in place of beaks, and long bony tails.

A: dinosaurs


Problem: Given the question: Extract the answer to the question from the following context. Question: Who wroted classic protuguese literature in the 16th century? Context: Adventurer and poet Luís de Camões (c. 1524–1580) wrote the epic poem "Os Lusíadas" (The Lusiads), with Virgil's Aeneid as his main influence. Modern Portuguese poetry is rooted in neoclassic and contemporary styles, as exemplified by Fernando Pessoa (1888–1935). Modern Portuguese literature is represented by authors such as Almeida Garrett, Camilo Castelo Branco, Eça de Queiroz, Fernando Pessoa, Sophia de Mello Breyner Andresen, António Lobo Antunes and Miguel Torga. Particularly popular and distinguished is José Saramago, recipient of the 1998 Nobel Prize in Literature.
++++++++++++++++++++++++++++++++
The answer is:
Adventurer and poet Luís de Camões (c. 1524–1580)


input question: Extract the answer to the question from the following context. Question: Besides Telangana, what other place is Hyderabad a type of capital for? Context: Hyderabad (i/ˈhaɪdərəˌbæd/ HY-dər-ə-bad; often /ˈhaɪdrəˌbæd/) is the capital of the southern Indian state of Telangana and de jure capital of Andhra Pradesh.[A] Occupying 650 square kilometres (250 sq mi) along the banks of the Musi River, it has a population of about 6.7 million and a metropolitan population of about 7.75 million, making it the fourth most populous city and sixth most populous urban agglomeration in India. At an average altitude of 542 metres (1,778 ft), much of Hyderabad is situated on hilly terrain around artificial lakes, including Hussain Sagar—predating the city's founding—north of the city centre.???
output answer: Andhra Pradesh


Extract the answer to the question from the following context. Question: Monarchs could be elected from within only the royal family until when? 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 Polish–Lithuanian monarch. Every newly elected king was supposed to sign two documents—the Pacta conventa ("agreed pacts")—a confirmation of the king's pre-election promises, and Henrican articles (artykuły 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: 1573


Q: Extract the answer to the question from the following context. Question: Candidate's names are included in which type of advertisements? Context: To distinguish official campaigning from independent campaigning, political advertisements on television were required to include a verbal disclaimer identifying the organization responsible for the advertisement. Advertisements produced by political campaigns usually included the statement, "I'm [candidate's name], and I approve this message." Advertisements produced by independent organizations usually included the statement, "[Organization name] is responsible for the content of this advertisement", and from September 3 (60 days before the general election), such organizations' ads were prohibited from mentioning any candidate by name. Previously, television advertisements only required a written "paid for by" disclaimer on the screen.
A: Advertisements produced by political campaigns


[Q]: Extract the answer to the question from the following context. Question: Who controlled India until 1961? Context: Portugal's colonial history has long since been a cornerstone of its national identity, as has its geographic position at the south-western corner of Europe, looking out into the Atlantic Ocean. It was one of the last western colonial European powers to give up its overseas territories (among them Angola and Mozambique in 1975), turning over the administration of Macau to the People's Republic of China at the end of 1999. Consequently, it has both influenced and been influenced by cultures from former colonies or dependencies, resulting in immigration from these former territories for both economic and/or personal reasons. Portugal, long a country of emigration (the vast majority of Brazilians have Portuguese ancestry), has now become a country of net immigration, and not just from the last Indian (Portuguese until 1961), African (Portuguese until 1975), and Far East Asian (Portuguese until 1999) overseas territories. An estimated 800,000 Portuguese returned to Portugal as the country's African possessions gained independence in 1975. By 2007, Portugal had 10,617,575 inhabitants of whom about 332,137 were legal immigrants.
****
[A]:
Portugal