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?

<P0-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. <P0-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> <P1-S0> The standard extraction technique is to evaporate water from brine. <P1-S1> Each batch takes from 18 to 24 months. <P1-S2> 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. <SEP> <P2-S0> the party has won 24 of the last 40 u.s. presidential elections and there have been a total of 19 republican presidents, the most from any one party. <P2-S1> the first was 16th president abraham lincoln, who served from 1861 until his assassination in 1865, and the most recent being 45th and current president donald trump, who took office on january 20, 2017. <SEP> <P3-S0> rouhani was deputy speaker of the fourth and fifth terms of the parliament of iran (majlis) and secretary of the supreme national security council from 1989 to 2005. in the latter capacity, he was the country's top negotiator with the eu three, uk, france, and germany, on nuclear technology in iran, and has also served as a shi'ite ijtihadi cleric, and economic trade negotiator. <P3-S1> he has expressed official support for upholding the rights of ethnic and religious minorities. <P3-S2> in 2013, he appointed former industries minister eshaq jahangiri as his first vice-president.on 7 may 2013, rouhani registered for the presidential election that was held on 14 june 2013. he said that, if elected, he would prepare a "civil rights charter", restore the economy and improve rocky relations with western nations. <P3-S3> rouhani is frequently described as a moderate. <P3-S4> he was elected as president of iran on 15 june, defeating tehran mayor mohammad bagher ghalibaf and four other candidates. <P3-S5> he took office on 3 august 2013. in 2013, time magazine named him in its list of the 100 most influential people in the world. <P3-S6> in domestic policy, he encourages personal freedom and free access to information, has improved women's rights by appointing female foreign ministry spokespeople, and has been described as a centrist and reformist who has improved iran's diplomatic relations with other countries through exchanging conciliatory letters. <P3-S7> rouhani won re-election in the 2017 election with 23,636,652 votes (57.1%). <P3-S8> he became the third iranian president, after mohammad khatami and mahmoud ahmadinejad, to win a presidential victory as an incumbent with an increased electoral mandate. <SEP> <P4-S0> General elections were held in Ecuador on 19 February 2017 alongside a referendum on tax havens. <P4-S1> Voters elected a new President and National Assembly. <P4-S2> Incumbent President Rafael Correa of the PAIS Alliance was not eligible for re-election, having served two terms. <P4-S3> 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. <P4-S4> As a result, a second round was held on 2 April. <P4-S5> In the first round of the presidential elections, PAIS Alliance candidate Lenín Moreno received 39% of the vote. <P4-S6> In the second round Moreno was elected President with 51.16% of the vote.