#include <bits/stdc++.h>
using namespace std;
string s;
bool b = true;
bool isVowel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') return true;
  return false;
}
int main() {
  cin >> s;
  s += 'x';
  for (int i = 0; i < s.length() - 1; i++) {
    if (s[i] == 'n') continue;
    if (!isVowel(s[i]) && !isVowel(s[i + 1])) {
      b = false;
      break;
    }
  }
  b ? printf("YES\n") : printf("NO\n");
  return 0;
}
