#include <bits/stdc++.h>
using namespace std;
template <class T1, class T2>
ostream& operator<<(ostream& out, pair<T1, T2>& p) {
  out << p.first << ' ' << p.second;
}
template <class T>
istream& operator>>(istream& in, vector<T>& v) {
  for (auto& x : v) in >> x;
  return in;
}
template <class T>
ostream& operator<<(ostream& out, vector<T>& v) {
  for (auto x : v) out << x << ' ';
  return out;
}
int main() {
  iostream::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  string s;
  cin >> s;
  set<char> st;
  st.insert('a');
  st.insert('e');
  st.insert('i');
  st.insert('o');
  st.insert('u');
  for (long long i = (0); i < (s.length()); ++i) {
    if (st.find(s[i]) != st.end())
      continue;
    else if (s[i] == 'n')
      continue;
    else if (i == s.length() - 1 || st.find(s[i + 1]) == st.end()) {
      cout << "NO";
      exit(0);
    }
  }
  cout << "YES";
}
