#include <bits/stdc++.h>
using namespace std;
bool vowel(char c) {
  return c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u';
}
int main() {
  string s;
  cin >> s;
  int status = 0;
  for (auto c : s) {
    if (status == 1) {
      if (!vowel(c)) {
        printf("NO\n");
        return 0;
      }
      status = 0;
    } else {
      if (vowel(c) || c == 'n')
        status = 0;
      else
        status = 1;
    }
  }
  if (status == 1) {
    printf("NO\n");
  } else {
    printf("YES\n");
  }
}
