#include #include #include #include #include #include #include #include #include #include #include using namespace std; //#define __int64 long long #define long __int64 #define REP(i,a,b) for(int i=a;i s; string in; string data1 = "aaeiuu"; string data2 = "bgmnr*"; string check; char check1[6] = {'a','a','e','i','u','u'}; char check2[6] = {'b','g','m','n','r','*'}; bool flg = false; cin >> n; rep(i,n){ cin >> in; s.insert(in); } do{ do{ check = ""; rep(i,6){ if(check2[i] != '*') check += check2[i]; check += check1[i]; } if(!s.count(check)){ cout << check << endl; return 0; } }while( next_permutation(check2, check2 + 6)); }while( next_permutation(check1, check1 + 6)); cout << "NO" << endl; return 0; }