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