#include <bits/stdc++.h>
using namespace std;
int main() {
  string s, al = "bcdfghjklmpqrstvwxyz";
  map<char, bool> v;
  for (int i = 0; i < al.size(); ++i) {
    v[al[i]] = 1;
  }
  cin >> s;
  for (int i = 0; i < s.size() - 1; ++i) {
    if (v[s[i]] && v[s[i + 1]]) {
      cout << "NO";
      return 0;
    }
    if (v[s[i]] && s[i + 1] == 'n') {
      cout << "NO";
      return 0;
    }
  }
  if (!v[s[s.size() - 1]]) {
    cout << "YES";
  } else {
    cout << "NO";
  }
  return 0;
}
