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