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