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