#include <bits/stdc++.h>   using namespace std;   int32_t main() {     long long n;     cin >> n;     map<string, long long> count;     for (long long i = 0; i < n; i++) {       string s;       cin >> s;       count[s]++;     }     string s1 =  a , s2 =  a ;     for (map<string, long long>::iterator it = count.begin(); it != count.end();          ++it) {       if (s1 ==  a )         s1 = (*it).first;       else         s2 = (*it).first;     }     if (count[s1] > count[s2])       cout << s1 <<   n ;     else       cout << s2 <<   n ;   }   