#include <bits/stdc++.h>
int main() {
  char s[100];
  int i, l, k = 0;
  gets(s);
  l = strlen(s);
  for (i = 0; i < l; i++) {
    if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'o' &&
        s[i] != 'u' && s[i] != 'n') {
      i++;
      if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'o' &&
          s[i] != 'u') {
        k++;
      }
    }
  }
  if (k == 0) {
    printf("YES");
  } else {
    printf("NO");
  }
  return 0;
}
