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