#define _USE_MATH_DEFINES #include #include #include #include #include #include #include #include #include #include ///////// #define REP(i, x, n) for(int i = x; i < n; i++) #define rep(i,n) REP(i,0,n) #define P(p) cout<<(p)<>N; if(N>=21600){ P("NO"); return 0; }else if(N==0){ P("inabameguru"); return 0; } rep(i,N){ cin>>name[i]; } /////////////// //inabameguru //iaaeuu =6!/2!2!=180 //nbmgr 5!=120 vector si; si.push_back('n'); si.push_back('b'); si.push_back('m'); si.push_back('g'); si.push_back('r'); string temp; int count; do{ vector bo; bo.push_back('a'); bo.push_back('a'); bo.push_back('i'); bo.push_back('u'); bo.push_back('u'); bo.push_back('e'); do{ temp = (bo[0]); for(int i=0;i<5;++i){ temp += (si[i]); temp += (bo[i+1]); } count = 0; for(int i=0;i