#include <bits/stdc++.h>
using namespace std;
bool chk(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u') return true;
  return false;
}
int main() {
  bool ans = true;
  string s;
  cin >> s;
  int n = s.size();
  int i = 0;
  while (i < n) {
    if (!chk(s[i]) && s[i] != 'n') {
      if (!chk(s[i + 1]) || (i + 1 == n)) {
        ans = false;
        break;
      }
    }
    i++;
  }
  if (ans)
    cout << "YES" << endl;
  else
    cout << "NO" << endl;
  return 0;
}
