#include <bits/stdc++.h>
using namespace std;
bool isvo(char c) {
  if ((c == 'a') || (c == 'A') || (c == 'e') || (c == 'E') || (c == 'i') ||
      (c == 'I') || (c == 'o') || (c == 'O') || (c == 'u') || (c == 'U'))
    return true;
  return false;
}
bool solve(string s) {
  for (long long i = 0; i < s.length() - 1; i++) {
    if (s[i] == 'n' || s[i] == 'N') continue;
    if (!isvo(s[i]) && !isvo(s[i + 1])) return false;
  }
  return true;
}
long long int mod = 1e9 + 7;
int main() {
  string s;
  cin >> s;
  s += '$';
  if (solve(s))
    cout << "YES";
  else
    cout << "NO";
}
