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