#include <bits/stdc++.h>
#pragma GCC optimize("Ofast")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
const int N = 1e5 + 12;
const int B = 1e8 + 123;
const double big = 1e6 + 2;
const long long INF = 1e18;
string s;
inline void solve() {
  cin >> s;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] == 'n') {
      continue;
    }
    if (s[i] != 'a' && s[i] != 'o' && s[i] != 'u' && s[i] != 'i' &&
        s[i] != 'e') {
      if (s[i + 1] != 'a' && s[i + 1] != 'o' && s[i + 1] != 'u' &&
          s[i + 1] != 'i' && s[i + 1] != 'e') {
        cout << "NO";
        exit(0);
      }
    }
  }
  cout << "YES";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int AIBEK = 1;
  while (AIBEK--) {
    solve();
  }
  return 0;
}
