#include <bits/stdc++.h>
const double PI = atan(1) * 4;
const double E = exp(1);
const int oo = 1e9;
const int eps = 1e-9;
using namespace std;
bool vo(char c) {
  return (c == 'a' or c == 'e' or c == 'i' or c == 'o' or c == 'u');
}
int main() {
  ios::sync_with_stdio(0);
  string s;
  cin >> s;
  bool b = true;
  for (int i = 0; i < ((int)((s).size())) and b; i++) {
    if ((!vo(s[i]) and s[i] != 'n') and
        (i + 1 >= ((int)((s).size())) or !vo(s[i + 1])))
      b = false;
  }
  if (b)
    cout << "YES\n";
  else
    cout << "NO\n";
}
