http://codeforces.com/contest/1008/problems
#include <bits/stdc++.h>
using namespace std;
int main()
{
set<char>s;
s.insert('a');
s.insert('e');
s.insert('i');
s.insert('o');
s.insert('u');
string str;
cin>>str;
bool flag=true;
for(int i=0;i<str.length();i++)
{
if(s.find(str[i])==s.end())
{
if(str[i]=='n')continue;
else if(s.find(str[i+1])==s.end()||i==(str.length()-1))
{
flag=false;
}
}
}
if(flag)cout<<"YES"<<endl;
else cout<<"NO"<<endl;
//cout << "Hello world!" << endl;
return 0;
}