#include #include #include #include #include #include #include #include #include #include #include #include #include #define REP(i,s,n) for(int i=(int)(s);i<(int)(n);i++) using namespace std; typedef long long int ll; typedef vector VI; typedef pair PI; const double EPS=1e-9; set pool; string solve() { REP(i, 0, 6) { string a = "aaeiuu"; do { string b = "bgmnr"; do { string s; REP(j, 0, i) { s += b[j]; s += a[j]; } s += a[i]; REP(j, i, 5) { s += b[j]; s += a[j + 1]; } if (!pool.count(s)) { return s; } } while (next_permutation(b.begin(), b.end())); } while (next_permutation(a.begin(), a.end())); } return "NO"; } int main(void){ int n; cin >> n; REP(i, 0, n) { string s; cin >> s; pool.insert(s); } cout << solve() << endl; }