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