#include #include #include using namespace atcoder; using mint = modint1000000007; using namespace std; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf 1000000001 int main(){ string bo = "iaaeuu"; string si = "nbmgr"; sort(bo.begin(),bo.end()); sort(si.begin(),si.end()); int n; cin>>n; set s; rep(i,n){ string t; cin>>t; s.insert(t); } do{ sort(si.begin(),si.end()); do{ string t = ""; rep(i,5){ t += bo[i]; t += si[i]; } rep(i,6){ string tt = t; tt.insert(tt.begin()+i*2,bo.back()); if(s.count(tt))continue; cout<