#include <bits/stdc++.h>
using namespace std;
bool Vowel(char ch) {
  if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
    return true;
  return false;
}
int main() {
  string str;
  cin >> str;
  int n = str.length();
  for (int i = 0; i < str.length(); i++) {
    if (!Vowel(str[i]) && str[i] != 'n') {
      if (!Vowel(str[i + 1])) {
        cout << "NO" << endl;
        return 0;
      }
    }
  }
  cout << "YES" << endl;
}
