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