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