#include <bits/stdc++.h>
using namespace std;
int main() {
  char map[105];
  cin >> map;
  int len = strlen(map);
  int flag = 0;
  for (int i = 0; i < len; i++) {
    if (map[i] == 'a' || map[i] == 'e' || map[i] == 'i' || map[i] == 'o' ||
        map[i] == 'u') {
      flag = 0;
    } else if (map[i] == 'n') {
      if (flag == 1) {
        cout << "NO";
        return 0;
      }
    } else {
      if (flag == 1) {
        cout << "NO";
        return 0;
      }
      flag = 1;
    }
  }
  if (flag == 1) {
    cout << "NO";
    return 0;
  }
  cout << "YES";
  return 0;
}
