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