#include <bits/stdc++.h>
using namespace std;
const int N = 110;
int n, a[N];
string s;
int main() {
  ios::sync_with_stdio(0);
  cin >> s;
  for (int i = 0; i < s.length(); i++) {
    if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'u' &&
        s[i] != 'o' && s[i] != 'n') {
      if (i == s.length() - 1 ||
          (s[i + 1] != 'a' && s[i + 1] != 'e' && s[i + 1] != 'i' &&
           s[i + 1] != 'u' && s[i + 1] != 'o'))
        return puts("NO"), 0;
    }
  }
  puts("YES");
}
