Question: In 2017, who was elected president of the country providing the most legal immigrants in 2013 of all countries on the continent where most of the world's lithium comes from?

full_context: Document 1: Lists of countries by mineral production: Metal Leading Producer Second Leading Producer Complete list Aluminium China Russia List of countries by aluminium production Bauxite Australia China List of countries by bauxite production Bismuth China Mexico List of countries by bismuth production Copper Chile China List of countries by copper production Gold China Australia List of countries by gold production Iron ore Australia Brazil List of countries by iron ore production Lithium Australia Chile List of countries by lithium production Manganese South Africa Australia List of countries by manganese production Mercury China Mexico List of countries by mercury production Mica China Russia List of countries by mica production Nickel Philippines Russia List of countries by nickel production Niobium Brazil Canada List of countries by niobium production Palladium Russia South Africa List of countries by palladium production Platinum South Africa Russia List of countries by platinum production Silver Mexico China List of countries by silver production Tin China Indonesia List of countries by tin production Titanium Australia South Africa (tied) List of countries by titanium production Zinc China Australia List of countries by zinc production
Document 2: 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 3: 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 4: Salinas Grandes mine: The Salinas Grandes mine is one of the largest lithium mines in Argentina. The mine is located in northern Argentina in Jujuy Province. The Salinas Grandes mine has reserves amounting to 20 million tonnes of lithium ore grading 1.2% lithium thus resulting 293,000 tonnes of lithium.
Document 5: Paris: The remaining group, people born in foreign countries with no French citizenship at birth, are those defined as immigrants under French law. According to the 2012 census, 135,853 residents of the city of Paris were immigrants from Europe, 112,369 were immigrants from the Maghreb, 70,852 from sub-Saharan Africa and Egypt, 5,059 from Turkey, 91,297 from Asia (outside Turkey), 38,858 from the Americas, and 1,365 from the South Pacific. Note that the immigrants from the Americas and the South Pacific in Paris are vastly outnumbered by migrants from French overseas regions and territories located in these regions of the world.
Document 6: Politics of Ecuador: The politics of Ecuador are multi-party. The central government polity is a four - yearly elected presidential, unicameral representative democracy. The President of Ecuador is head of state and head of government on a multi-party system, leading a cabinet with further executive power. Legislative power is not limited to the National Assembly as it may to a lesser degree be exercised by the executive which consists of the President convening an appointed executive cabinet. Subsequent acts of the National Assembly are supreme over Executive Orders where sufficient votes have been cast by the legislators. The judiciary is independent of the executive and the legislature. There is also constitutional republic
Document 7: 2017 Ecuadorian general election: General elections were held in Ecuador on 19 February 2017 alongside a referendum on tax havens. Voters elected a new President and National Assembly. Incumbent President Rafael Correa of the PAIS Alliance was not eligible for re-election, having served two terms. In the first round of the presidential elections, PAIS Alliance candidate Lenín Moreno received 39% of the vote. Although he was more than 10% ahead of his nearest rival, Guillermo Lasso of the Creating Opportunities party, Moreno was just short of the 40% threshold required to avoid a run - off. As a result a second round was held on 2 April. In the second round Moreno was elected President with 51.16% of the vote.
Document 8: 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 9: Copper: Most copper is mined or extracted as copper sulfides from large open pit mines in porphyry copper deposits that contain 0.4 to 1.0% copper. Examples include Chuquicamata in Chile, Bingham Canyon Mine in Utah, United States and El Chino Mine in New Mexico, United States. According to the British Geological Survey, in 2005, Chile was the top mine producer of copper with at least one-third world share followed by the United States, Indonesia and Peru. Copper can also be recovered through the in-situ leach process. Several sites in the state of Arizona are considered prime candidates for this method. The amount of copper in use is increasing and the quantity available is barely sufficient to allow all countries to reach developed world levels of usage.
Document 10: 2018 Colombian presidential election: Presidential elections were held in Colombia on 27 May 2018. As no candidate received a majority of the vote, a second round was held on 17 June. Incumbent President Juan Manuel Santos is ineligible for re-election, having already served two terms. President Iván Duque is serving a four - year term from 7 August 2018 to 7 August 2022.
Document 11: 2017 Ecuadorian general election: General elections were held in Ecuador on 19 February 2017 alongside a referendum on tax havens. Voters elected a new President and National Assembly. Incumbent President Rafael Correa of the PAIS Alliance was not eligible for re-election, having served two terms. In the first round of the presidential elections, PAIS Alliance candidate Lenín Moreno received 39% of the vote. Although he was more than 10% ahead of his nearest rival, Guillermo Lasso of the Creating Opportunities party, Moreno was just short of the 40% threshold required to avoid a run - off. As a result, a second round was held on 2 April. In the second round Moreno was elected President with 51.16% of the vote.
Document 12: List of countries by lithium production: Rank Country / Region lithium mine production (tonnes) World 36,000 Australia 14,300 Chile 12,000 Argentina 5,700 China 2,000 Zimbabwe 900 6 Portugal 200 7 Brazil 200
Document 13: 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 14: 2017 French presidential election: The 2017 French presidential election was held on 23 April and 7 May 2017. As no candidate won a majority in the first round on 23 April, a run - off was held between the top two candidates, Emmanuel Macron of En Marche! and Marine Le Pen of the National Front (FN), which Macron won by a decisive margin on 7 May. The presidential election was followed by legislative elections to elect members of the National Assembly on 11 and 18 June. Incumbent president François Hollande of the Socialist Party (PS) was eligible to run for a second term, but declared on 1 December 2016 that he would not seek reelection in light of low approval ratings, making him the first incumbent president of the Fifth Republic not to seek re-election.
Document 15: Lithium: As of 2015, most of the world's lithium production is in South America, where lithium - containing brine is extracted from underground pools and concentrated by solar evaporation. The standard extraction technique is to evaporate water from brine. Each batch takes from 18 to 24 months.
ground_truth: Lenín Moreno
sub_queries: where does most of the world's lithium come from Answer: South America
Of all the countries in South America , which provided the most legal immigrants in 2013? Answer: Ecuador
who has won the 2017 Ecuador presidential election Answer: Lenín Moreno