#include <bits/stdc++.h>
using namespace std;
int main() {
  long long i, j, k, l, t, r, e, n, m;
  string s;
  cin >> s;
  l = s.size();
  for (i = 0; i < l - 1; i++) {
    if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'u' &&
        s[i] != 'o') {
      if (i > 0 && s[i] == 'n' &&
          (s[i - 1] != 'a' && s[i - 1] != 'e' && s[i - 1] != 'i' &&
           s[i - 1] != 'u' && s[i - 1] != 'o') &&
          s[i - 1] != 'n') {
        cout << "NO" << endl;
        return 0;
      } else if (s[i] == 'n')
        continue;
      else if (s[i + 1] == 'a' || s[i + 1] == 'e' || s[i + 1] == 'i' ||
               s[i + 1] == 'u' || s[i + 1] == 'o')
        continue;
      else {
        cout << "NO" << endl;
        return 0;
      }
    }
  }
  if (s[l - 1] != 'a' && s[l - 1] != 'e' && s[l - 1] != 'i' &&
      s[l - 1] != 'i' && s[l - 1] != 'o' && s[l - 1] != 'u' && s[l - 1] != 'n')
    cout << "NO" << endl;
  else
    cout << "Yes" << endl;
  return 0;
}
