#include <bits/stdc++.h>
#pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
using namespace std;
bool isVowel(char x) {
  if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u') return true;
  return false;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  string s;
  cin >> s;
  long long int n = s.length();
  if (!isVowel(s[n - 1]) && s[n - 1] != 'n') {
    cout << "NO";
    return 0;
  }
  for (long long int i = 0; i < n - 1; i++) {
    if (isVowel(s[i]) || s[i] == 'n') continue;
    if (!isVowel(s[i + 1])) {
      cout << "NO";
      return 0;
    }
  }
  cout << "YES";
  return 0;
}
