#include <bits/stdc++.h>
using namespace std;
int main() {
  string data;
  string mark = "aeioun";
  while (cin >> data) {
    int res = 0;
    for (int i = 0; i < data.length(); i++) {
      int flag = 0, flag1 = 0;
      for (int j = 0; j < mark.length(); j++) {
        if (data[i] == mark[j]) {
          flag = 1;
          break;
        }
      }
      if (flag == 0) {
        for (int j = 0; j < mark.length() - 1; j++) {
          if (data[i + 1] == mark[j]) {
            flag1 = 1;
            break;
          }
        }
      }
      if (flag == 0 && flag1 == 0) {
        res = 1;
        break;
      }
    }
    if (res == 1)
      printf("NO\n");
    else
      printf("YES\n");
  }
  return 0;
}
