Question: Where are the headquarters for the Avianca Holdings airline brand for the country that provided the most legal immigrants in 2013 compared to countries in the continent of the São Lourenço River?

full_context: Document 1: New York City: The wider New York City metropolitan area, with over 20 million people, about 50% greater than the second-place Los Angeles metropolitan area in the United States, is also ethnically diverse. The New York region continues to be by far the leading metropolitan gateway for legal immigrants admitted into the United States, substantially exceeding the combined totals of Los Angeles and Miami, the next most popular gateway regions. It is home to the largest Jewish as well as Israeli communities outside Israel, with the Jewish population in the region numbering over 1.5 million in 2012 and including many diverse Jewish sects from around the Middle East and Eastern Europe. The metropolitan area is also home to 20% of the nation's Indian Americans and at least 20 Little India enclaves, as well as 15% of all Korean Americans and four Koreatowns; the largest Asian Indian population in the Western Hemisphere; the largest Russian American, Italian American, and African American populations; the largest Dominican American, Puerto Rican American, and South American and second-largest overall Hispanic population in the United States, numbering 4.8 million; and includes at least 6 established Chinatowns within New York City alone, with the urban agglomeration comprising a population of 779,269 overseas Chinese as of 2013 Census estimates, the largest outside of Asia.
Document 2: São Lourenço River (Mato Grosso): The São Lourenço River is a tributary of the Paraguay River within the Pantanal, an alluvial plain that spans portions of Brazil, Bolivia and Paraguay.
Document 3: Mexico City: On the other hand, Mexico City is also home to large communities of expatriates and immigrants, most notably from the rest of North America (U.S. and Canada), from South America (mainly from Argentina and Colombia, but also from Brazil, Chile, Uruguay and Venezuela), from Central America and the Caribbean (mainly from Cuba, Guatemala, El Salvador, Haiti and Honduras); from Europe (mainly from Spain, Germany and Switzerland, but also from Czech Republic, Hungary, France, Italy, Ireland, the Netherlands, Poland and Romania), from the Middle East (mainly from Egypt, Lebanon and Syria); and recently from Asia-Pacific (mainly from China and South Korea). Historically since the era of New Spain, many Filipinos settled in the city and have become integrated in Mexican society. While no official figures have been reported, population estimates of each of these communities are quite significant.
Document 4: Guaporé River: Guaporé River (Portuguese: Rio Guaporé) is a river in western Brazil and northeastern Bolivia. Its Bolivian name is Río Iténez. It is 1,530 km (950 mi) long; 970 km (600 mi) of the river forms the border between Brazil and Bolivia.
Document 5: New York City: Ecuador, Colombia, Guyana, Peru, and Brazil were the top source countries from South America for legal immigrants to the New York City region in 2013; the Dominican Republic, Jamaica, Haiti, and Trinidad and Tobago in the Caribbean; Egypt, Ghana, and Nigeria from Africa; and El Salvador, Honduras, and Guatemala in Central America. Amidst a resurgence of Puerto Rican migration to New York City, this population had increased to approximately 1.3 million in the metropolitan area as of 2013.
Document 6: Avianca Ecuador: Avianca Ecuador, formerly known as AeroGal, is an airline based in Quito, Ecuador. It operates passenger and cargo flights within Ecuador, between the mainland and the Galápagos Islands, and between Ecuador and Peru (on behalf of Avianca Peru) and Colombia (on behalf of Avianca). It is one of the seven nationally branded airlines (Avianca Peru, Avianca Honduras, etc.) in the Avianca Holdings group of Latin American airlines.
Document 7: José Joaquín de Olmedo International Airport: José Joaquín de Olmedo International Airport (Spanish: Aeropuerto Internacional José Joaquín de Olmedo; IATA: GYE, ICAO: SEGU) is an airport serving Guayaquil, the capital of the Guayas Province and the most populous city in Ecuador. It is the second busiest airport in Ecuador.
Document 8: Solimões River: Solimões () is the name often given to upper stretches of the Amazon River in Brazil from its confluence with the Rio Negro upstream to the border of Peru. At the confluence, the river is already by far the largest river in the world, even though its two largest tributaries have not yet entered (the Negro and the Madeira River). The Solimões portion of the Amazon river lies entirely in the State of Amazonas, Brazil, and some portion of the state is often referred to as the "Solimões region". The ecoregion of the Solimões river drainage basin is entirely tropical rainforest.
Document 9: Avianca Costa Rica: Avianca Costa Rica, formerly known as "LACSA" ("Spanish: Lineas Aéreas Costarricenses S.A."), minority owned by the Synergy Group, is the national airline of Costa Rica and is based in San José. It operates international scheduled services to over 35 destinations in Central, North and South America. The airline previously used the TACA/LACSA moniker when it was a subsidiary of Grupo TACA. Since May 2013, following Avianca's purchase of Grupo TACA, Avianca Costa Rica became one of seven nationally branded airlines (Avianca Ecuador, Avianca Honduras, etc.) operated by Avianca Holdings group of Latin American airlines.
Document 10: New York City: Approximately 37% of the city's population is foreign born. In New York, no single country or region of origin dominates. The ten largest sources of foreign-born individuals in the city as of 2011 were the Dominican Republic, China, Mexico, Guyana, Jamaica, Ecuador, Haiti, India, Russia, and Trinidad and Tobago, while the Bangladeshi immigrant population has since become one of the fastest growing in the city, counting over 74,000 by 2013.
Document 11: Paraguay River: The Paraguay River (Río Paraguay in Spanish, Rio Paraguai in Portuguese, Ysyry Paraguái in Guarani) is a major river in south-central South America, running through Brazil, Bolivia, Paraguay and Argentina. It flows about from its headwaters in the Brazilian state of Mato Grosso to its confluence with the Paraná River north of Corrientes and Resistencia.
Document 12: Bermejo River: The Bermejo River (Spanish, Río Bermejo) is a river in South America that flows from Bolivia to the Paraguay River in Argentina. The river is generally called Bermejo in spite of its different names along its way, but it also has its own Native American names; in Wichí it is called Teuco, and in Guaraní it is called Ypitá. In the plains of Argentina's Gran Chaco the Bermejo forms wetlands and splits into two branches. The southern branch is the bed of the old Bermejo River, now an intermittent stream called Río Bermejito. The northern branch is now the main stem of the Bermejo and is called the Teuco River ("Río Teuco"), Bermejo Nuevo, or simply the Bermejo River. The two branches rejoin at , near Villa Río Bermejito, forming the Lower Bermejo River.
Document 13: Guaíra, Paraná: Guaíra is a municipality in the state of Paraná in the Southern Region of Brazil. The population is 32,591 (2015 est.) in an area of 560 km². The elevation is 517 m. This place name comes from the Tupi language and means "place difficult to access". The city is served by Guaíra Airport.
Document 14: Paraguay: Paraguay (; ; , ), officially the Republic of Paraguay (; ), is a country in South America. It is bordered by Argentina to the south and southwest, Brazil to the east and northeast, and Bolivia to the northwest. Although it is one of only two landlocked countries in South America (the other is Bolivia), the country has coasts, beaches and ports on the Paraguay and Paraná rivers that give exit to the Atlantic Ocean through the . Due to its central location in South America, it is sometimes referred to as "Corazón de Sudamérica" ("Heart of South America").
Document 15: Paraná Valles: Paraná Valles is a valley in the Margaritifer Sinus quadrangle (MC-19) region of Mars, located at approximately 23.1° South and 10.2° West. It is 350 km long and was named after an ancient and modern name for a South American river (Brazil, Argentina). A low area between Paraná Valles and Loire Valles is believed to have once held a lake.
ground_truth: Quito
sub_queries: São Lourenço River >> mouth of the watercourse Answer: Paraguay River
Which continent is Paraguay River on? Answer: South America
Of all the countries in South America , which provided the most legal immigrants in 2013? Answer: Ecuador
Avianca Ecuador >> headquarters location Answer: Quito