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