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