#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  string s;
  cin >> s;
  for (int i = 0; i < s.length() - 1; i++) {
    if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'o' &&
        s[i] != 'u') {
      if (s[i] != 'n') {
        if (s[i + 1] != 'a' && s[i + 1] != 'e' && s[i + 1] != 'i' &&
            s[i + 1] != 'o' && s[i + 1] != 'u') {
          cout << "NO" << endl;
          return 0;
        }
      }
    }
  }
  int i = s.length() - 1;
  if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'o' && s[i] != 'u' &&
      s[i] != 'n') {
    cout << "NO" << endl;
    return 0;
  }
  cout << "YES" << endl;
  return 0;
}
