#include <bits/stdc++.h>
using namespace std;
string s;
bool fnk(char k) {
  if (k == 'a' || k == 'e' || k == 'i' || k == 'o' || k == 'u' || k == 'n')
    return true;
  return false;
}
int32_t main() {
  ios_base::sync_with_stdio(0);
  cin.tie(NULL);
  cout.tie(NULL);
  cin >> s;
  int n = s.size();
  char k = s[n - 1];
  s += 'a';
  bool odp = true;
  for (int i = 0; i < n; i++) {
    k = s[i];
    if (!fnk(k)) {
      if (!fnk(s[i + 1]) || s[i + 1] == 'n') odp = false;
    }
  }
  k = s[n - 1];
  if (k == 'a' || k == 'e' || k == 'i' || k == 'o' || k == 'u' || k == 'n') {
  } else {
    odp = false;
  }
  if (odp == true)
    cout << "YES\n";
  else
    cout << "NO\n";
  return 0;
}
