include[HTML_REMOVED]
using namespace std;
int n,ans;
string s;
map[HTML_REMOVED] mp;
int main( )
{
cin>>n;
cin>>s;
int ans = 0;
for(int i=0;i[HTML_REMOVED]ans) {
ans=p.second;
s1 = p.first;
}
}
cout<<s1 ;
return 0;
}