#include #include #include #include #define repeat(i,n) for (int i = 0; (i) < (n); ++(i)) using namespace std; int main() { int n; cin >> n; unordered_set s; repeat (i,n) { string t; cin >> t; s.insert(t); } string vowels = "aaeiuu"; do { string consonants = "bgmnr"; do { repeat (i, 5) { string t; repeat (j, 5) { if (i == j) t += vowels[5]; t += consonants[j]; t += vowels[j]; } if (not s.count(t)) { cout << t << endl; return 0; } } } while (next_permutation(consonants.begin(), consonants.end())); } while (next_permutation(vowels.begin(), vowels.end())); cout << "NO" << endl; return 0; }