#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int ans = 0;
  for (int i = 0; i < s.size(); i++) {
    if (s[i] != 'a' && s[i] != 'i' && s[i] != 'u' && s[i] != 'o' &&
        s[i] != 'e' && s[i] != 'n') {
      if (s[i + 1] == 'a' || s[i + 1] == 'i' || s[i + 1] == 'u' ||
          s[i + 1] == 'o' || s[i + 1] == 'e') {
        continue;
      } else {
        cout << "NO";
        return 0;
      }
    }
  }
  cout << "yes";
}
