#include <bits/stdc++.h>
using namespace std;
bool isVowel(char c) {
  return c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u';
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  string s;
  cin >> s;
  int n = s.size();
  s += "$";
  for (int i = 0; i < n; i++) {
    if (s[i] != 'n' && !isVowel(s[i]) && !isVowel(s[i + 1])) {
      cout << "NO\n";
      return 0;
    }
  }
  cout << "YES\n";
}
