I have a list of some countries\' array that I\'m fetching from an API. I have these countries in an array already but each country appears multiple times. I wrote a functio