#include <bits/stdc++.h>
using namespace std;
int main() {
  char a[105];
  char b[5] = {'a', 'e', 'i', 'o', 'u'};
  while (scanf("%s", a) == 1) {
    int ans = 1;
    int k = strlen(a);
    for (int i = 0; i < k; i++) {
      int t = 1;
      for (int j = 0; j < 5; j++) {
        if (a[i] == b[j]) t = -1;
      }
      if (t == 1) {
        if (a[i] == 'n') continue;
        if (a[i + 1] == 'a' || a[i + 1] == 'e' || a[i + 1] == 'i' ||
            a[i + 1] == 'o' || a[i + 1] == 'u')
          ans = 1;
        else {
          ans = -1;
          break;
        }
      }
      if (t == -1) continue;
    }
    if (ans == 1)
      printf("YES\n");
    else
      printf("NO\n");
  }
  return 0;
}
