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