Question: Where is the headquarter location of the airline with name Avianca followed by the country name providing the most legal immigrants in 2013 among the countries in the continent having the country holding the football tournament as the largest country?

<P0-S0> 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é. <P0-S1> it operates international scheduled services to over 35 destinations in central, north and south america. <P0-S2> the airline previously used the taca/lacsa moniker when it was a subsidiary of grupo taca. <P0-S3> 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.) <P0-S4> operated by avianca holdings group of latin american airlines. <SEP> <P1-S0> Avianca Ecuador, formerly known as AeroGal, is an airline based in Quito, Ecuador. <P1-S1> 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). <P1-S2> It is one of the seven nationally branded airlines (Avianca Peru, Avianca Honduras, etc.) <P1-S3> in the Avianca Holdings group of Latin American airlines. <SEP> <P2-S0> 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. <P2-S1> 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. <SEP> <P3-S0> The Copa América 1989 football tournament was hosted by Brazil, from 1 to 16 July. <P3-S1> All ten CONMEBOL member nations participated. <SEP> <P4-S0> brazil is the largest country in south america, encompassing around half of the continent's land area and population. <P4-S1> the remaining countries and territories are divided among three regions: the andean states, the guianas and the southern cone. <SEP> <P5-S0> Brazil (Portuguese: Brasil Portuguese pronunciation: (bɾaˈziw)), officially the Federative Republic of Brazil (Portuguese: República Federativa do Brasil, listen (help info)), is the largest country in both South America and Latin America. <P5-S1> At 8.5 million square kilometers (3.2 million square miles) and with over 208 million people, Brazil is the world's fifth - largest country by area and the sixth most populous. <P5-S2> The capital is Brasília, and the most populated city is São Paulo. <P5-S3> The federation is composed of the union of the 26 states, the Federal District, and the 5,570 municipalities. <P5-S4> It is the largest country to have Portuguese as an official language and the only one in the Americas; it is also one of the most multicultural and ethnically diverse nations, due to over a century of mass immigration from around the world.