#include <bits/stdc++.h>
using namespace std;
const long long N = 1e5 + 5;
const long long NN = 1e9 + 5;
string s;
long long n;
map<char, bool> mp;
int main() {
  mp['a'] = 1;
  mp['o'] = 1;
  mp['u'] = 1;
  mp['i'] = 1;
  mp['e'] = 1;
  cin >> s;
  n = s.size();
  if (!mp[s[n - 1]] && s[n - 1] != 'n') {
    cout << "NO";
    return 0;
  }
  for (int i = 0; i < n; i++) {
    if (s[i] != 'n' && !mp[s[i]]) {
      if (!mp[s[i + 1]]) {
        cout << "NO";
        return 0;
      }
    }
  }
  cout << "YES";
}
