#include <bits/stdc++.h>
using namespace std;
bool equals(char ch) {
  if (ch != 'a' && ch != 'e' && ch != 'i' && ch != 'u' && ch != 'o')
    return true;
  return false;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  string s;
  cin >> s;
  if (s.length() == 1 && (equals(s[0]) && s[0] != 'n')) {
    cout << "NO" << endl;
    return 0;
  } else {
    if (equals(s[s.length() - 1]) && s[s.length() - 1] != 'n') {
      cout << "NO" << endl;
      return 0;
    }
    for (int i = 0; i < s.length() - 1; ++i)
      if ((equals(s[i]) && s[i] != 'n') && equals(s[i + 1])) {
        cout << "NO" << endl;
        return 0;
      }
  }
  cout << "YES" << endl;
  return 0;
}
