#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  cin >> s;
  int len = s.size();
  bool flag = false;
  for (int i = 0; i < len - 1; i++) {
    if ((s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'o' &&
         s[i] != 'u')) {
      if (s[i] == 'n')
        continue;
      else {
        if ((s[i + 1] == 'a' || s[i + 1] == 'e' || s[i + 1] == 'i' ||
             s[i + 1] == 'o' || s[i + 1] == 'u')) {
          continue;
        } else {
          flag = true;
          break;
        }
      }
    }
  }
  if ((s[len - 1] != 'a' && s[len - 1] != 'e' && s[len - 1] != 'i' &&
       s[len - 1] != 'o' && s[len - 1] != 'u' && s[len - 1] != 'n'))
    flag = true;
  if (!flag) {
    cout << "YES\n";
  } else {
    cout << "NO\n";
  }
  return 0;
}
