#include <bits/stdc++.h>
using namespace std;
char a[105];
int main() {
  int f = 0;
  gets(a);
  int l = strlen(a);
  for (int i = 0; i < l; i++) {
    if (a[i] != 'a' && a[i] != 'e' && a[i] != 'i' && a[i] != 'o' &&
        a[i] != 'u' && a[i] != 'n') {
      if (a[i + 1] != 'a' && a[i + 1] != 'e' && a[i + 1] != 'i' &&
          a[i + 1] != 'o' && a[i + 1] != 'u') {
        f = 1;
        break;
      }
    }
  }
  if (f)
    printf("NO");
  else
    printf("YES\n");
  return 0;
}
