#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k;
  string s;
  cin >> s;
  n = s.size();
  for (k = 0; k < n; k++) {
    if (s[k] == 'a' || s[k] == 'e' || s[k] == 'o' || s[k] == 'i' ||
        s[k] == 'u') {
      s[k] = '*';
    }
  }
  for (k = 0; k <= n - 1; k++) {
    if (s[k] != 'n' && s[k] != '*' && s[k + 1] != '*') {
      cout << "NO";
      exit(0);
    }
  }
  cout << "YES";
}
