#include <bits/stdc++.h>
#pragma warning(disable : 4996)
using namespace std;
int main() {
  string str;
  cin >> str;
  for (int i = 0; i < str.size(); ++i) {
    if (str[i] != 'a' && str[i] != 'u' && str[i] != 'i' && str[i] != 'o' &&
        str[i] != 'e' && str[i] != 'n') {
      if (i == str.size() - 1) {
        cout << "NO";
        return 0;
      }
      if (str[i + 1] != 'a' && str[i + 1] != 'u' && str[i + 1] != 'i' &&
          str[i + 1] != 'o' && str[i + 1] != 'e') {
        cout << "NO";
        return 0;
      }
    }
  }
  cout << "YES";
  return 0;
}
