#include <bits/stdc++.h>
using namespace std;
int main() {
  long long i, j, k, l, m, n;
  char str[101];
  scanf("%s", str);
  l = strlen(str);
  k = 1;
  for (i = 0; i < l; i++) {
    if (!(str[i] == 'a' || str[i] == 'e' || str[i] == 'u' || str[i] == 'o' ||
          str[i] == 'i' || str[i] == 'n')) {
      if (i < l - 1) {
        if (!(str[i + 1] == 'a' || str[i + 1] == 'e' || str[i + 1] == 'u' ||
              str[i + 1] == 'o' || str[i + 1] == 'i')) {
          k = 0;
        }
      } else {
        k = 0;
      }
    }
  }
  if (k) {
    printf("YES");
    return 0;
  }
  printf("NO");
  return 0;
}
