#include <bits/stdc++.h>
using namespace std;
bool isVowel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') return true;
  return false;
}
int main() {
  char s[105];
  while (scanf("%s", s) != EOF) {
    int ok = 1;
    int len = strlen(s);
    for (int i = 0; i < len; i++) {
      if (!isVowel(s[i])) {
        if (!isVowel(s[i + 1]) && s[i] != 'n') {
          ok = 0;
          break;
        }
      }
    }
    if (ok)
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
