#include #include #include using namespace std; int main(int argc, char *argv[]) { int N; cin >> N; string str; array cnt{ 0 }; for (int i = 0; i < N; ++i) { cin >> str; cnt.at(str.size() - 2)++; } int v = 0; int r = 0; for (int i = 0; i < cnt.size(); ++i) { if (v <= cnt.at(i)) { v = cnt.at(i); r = i; } } cout << r << endl; return 0; }