#include <bits/stdc++.h>
using namespace std;
const int sz = 5e5 + 30;
const int INF = 1e9 + 7;
class codeforces {
 public:
  void solve();
};
bool vowel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') return true;
  return false;
}
void codeforces ::solve() {
  string s;
  cin >> s;
  int n = s.length();
  bool cond = true;
  for (int i = 0; i < n - 1; ++i) {
    if (!vowel(s[i]) && s[i] != 'n') {
      if (!(vowel(s[i + 1]))) {
        cond = false;
        break;
      }
    }
  }
  if (!vowel(s[n - 1]) && s[n - 1] != 'n') {
    cond = false;
  }
  if (cond)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  int T = 1;
  while (T--) {
    codeforces problem;
    problem.solve();
  }
  return 0;
}
