#include <bits/stdc++.h>
const int MaxN = 100 + 5;
int N;
int Book[10000];
char A[MaxN];
inline int read() {
  register int x = 0, v = 1;
  register char ch = getchar();
  while (!isdigit(ch)) {
    if (ch == '-') v = -1;
    ch = getchar();
  }
  while (isdigit(ch)) {
    x = x * 10 + ch - '0';
    ch = getchar();
  }
  return x * v;
}
int main() {
  scanf("%s", A + 1);
  N = strlen(A + 1);
  Book['a'] = Book['e'] = Book['i'] = Book['o'] = Book['u'] = 1;
  for (int i = 1; i <= N; ++i) {
    if (A[i] == 'n' || Book[A[i]] || (!Book[A[i]] && Book[A[i + 1]]))
      continue;
    else {
      puts("NO");
      return 0;
    }
  }
  puts("YES");
  return 0;
}
