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