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