#include using namespace std; namespace { typedef double real; typedef long long ll; template ostream& operator<<(ostream& os, const vector& vs) { if (vs.empty()) return os << "[]"; os << "[" << vs[0]; for (int i = 1; i < vs.size(); i++) os << " " << vs[i]; return os << "]"; } int N; vector ss; void input() { cin >> N; ss.clear(); ss.resize(N); for (int i = 0; i < N; i++) cin >> ss[i]; } void solve() { set M; for (int i = 0; i < N; i++) M.insert(ss[i]); string vs = "aaeiuu"; string cs = "bgmnr"; do { do { string s = " "; for (int p = 0; p < 6; p++) { for (int i = 0; i < p; i++) { s[i * 2] = cs[i]; } for (int i = p + 1; i < 6; i++) { s[i * 2] = cs[i - 1]; } } for (int i = 0; i <= 5; i++) { s[i * 2 + 1] = vs[i]; } string t; for (int i = 0; i < s.size(); i++) { char c = s[i]; if (c == ' ') continue; t.push_back(c); } if (not M.count(t)) { cout << t << endl; return; } } while (next_permutation(cs.begin(), cs.end())); } while (next_permutation(vs.begin(), vs.end())); cout << "NO" << endl; } } int main() { input(); solve(); return 0; }