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