#include <bits/stdc++.h>
using namespace std;
const double PI =
    3.141592653589793238462643383279502884197169399375105820974944;
long long power(long long a, long long b, long long m = 1000000007) {
  if (b == 0) return 1;
  if (b == 1) return a;
  long long x = power(a, b / 2, m) % m;
  x = (x * x) % m;
  if (b % 2) return (x * a) % m;
  return x;
}
long long vowel(char s) {
  if (s == 'a' or s == 'e' or s == 'i' or s == 'o' or s == 'u')
    return 1;
  else
    return 0;
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  cin >> s;
  long long flag = 0;
  if (s.size() == 1 and !vowel(s[0]) and s[0] != 'n') {
    cout << "NO" << endl;
    return 0;
  }
  for (long long i = 0; i < s.size(); i++) {
    if (s[i] == 'n') continue;
    if (i == s.size() - 1) {
      if (!vowel(s[i])) flag = 1;
    } else if (!vowel(s[i]) and !vowel(s[i + 1])) {
      flag = 1;
      break;
    }
  }
  if (flag) {
    cout << "NO" << endl;
  } else {
    cout << "YES" << endl;
  }
}
