#include <bits/stdc++.h>
using namespace std;
bool k = true, f = true;
string s, a = "bcdfghjklmpqrstvwxyz", b = "aeiou";
int l = 0;
int main() {
  cin >> s;
  l = (int)s.size();
  for (int i = 0; i < l; i++) {
    for (int j = 0; j < 21; j++) {
      if (s[i] == a[j]) {
        k = false;
        break;
      }
    }
    if (k == false) {
      for (int j = 0; j < 5; j++) {
        if (s[i + 1] == b[j]) {
          f = false;
          break;
        }
      }
      if (f == true) {
        cout << "NO";
        return 0;
      }
    }
    k = true;
    f = true;
  }
  cout << "YES";
  return 0;
}
