#include #define int long long using namespace std; signed main(){ int n; cin >> n; map mp; for(int i = 0; i < n; i++){ string s; cin >> s; mp[s.size() - 2]++; } int MAX = 0, ans = 0; for(auto it = mp.begin(); it != mp.end(); it++){ if(it -> second >= MAX){ MAX = it -> second; ans = it -> first; } } cout << ans << endl; }