#include <bits/stdc++.h>
using namespace std;
double PI = 3.14159265358979323846;
const int MAX = 1e9;
const int rx[8] = {1, 1, 1, -1, -1, -1, 0, 0};
const int ry[8] = {0, -1, 1, 0, -1, 1, 1, -1};
string s;
int main() {
  cin >> s;
  for (int i = 0; i < s.size() - 1; i++) {
    if (s[i] != 'a' && s[i] != 'o' && s[i] != 'u' && s[i] != 'i' &&
        s[i] != 'e' && s[i] != 'n' && s[i + 1] != 'a' && s[i + 1] != 'o' &&
        s[i + 1] != 'u' && s[i + 1] != 'i' && s[i + 1] != 'e') {
      cout << "NO";
      return 0;
    }
  }
  if (s[s.size() - 1] != 'a' && s[s.size() - 1] != 'o' &&
      s[s.size() - 1] != 'u' && s[s.size() - 1] != 'i' &&
      s[s.size() - 1] != 'e' && s[s.size() - 1] != 'n')
    cout << "NO";
  else
    cout << "YES";
  return 0;
}
