#include using namespace std; void birds(vector a, int n){ unordered_map myMap ; for(int i=0; i ::iterator it; int maxi = INT_MAX; int val=INT_MIN; for(it= myMap.begin(); it!=myMap.end(); it++){ if(it->second==val){ maxi = min(maxi, it->first); } else if(it->second > val){ val= it->second; maxi = it->first; } } cout<> n; vector types(n); for(int types_i = 0; types_i < n; types_i++){ cin >> types[types_i]; } // your code goes here birds(types , n); return 0; }