#include <bits/stdc++.h>
using namespace std;
const int maxn = 200000 + 5;
const int maxm = 200000 + 5;
char s[maxn];
int l;
bool check;
bool vow(char c) {
  if (c == 'a' || c == 'o' || c == 'u' || c == 'i' || c == 'e') return true;
  return false;
}
int main() {
  scanf("%s", &s[1]);
  l = strlen(&s[1]);
  check = true;
  for (int i = 1; i <= l; ++i) {
    if (s[i] == 'n') continue;
    if (vow(s[i]) == false) {
      if ((i == l) || (vow(s[i + 1]) == false)) {
        check = false;
        break;
      }
    }
  }
  if (check) {
    cout << "YES" << endl;
  } else
    cout << "NO" << endl;
  return 0;
}
