#include <bits/stdc++.h>
using namespace std;
char s[105];
int main() {
  int n;
  cin >> s;
  n = strlen(s);
  int flag = 1;
  for (int i = 0; i < n; i++) {
    if (s[i] != 'n' && s[i] != 'a' && s[i] != 'e' && s[i] != 'i' &&
        s[i] != 'o' && s[i] != 'u')
      if (s[i + 1] != 'a' && s[i + 1] != 'e' && s[i + 1] != 'i' &&
          s[i + 1] != 'o' && s[i + 1] != 'u')
        flag = 0;
  }
  if (flag)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
