#include <bits/stdc++.h>
using namespace std;
string s;
char a[] = {'a', 'u', 'i', 'o', 'e', 'n'};
bool isvowel(char x) {
  for (int i = 0; i < 6; ++i)
    if (x == a[i]) return true;
  return false;
}
int main() {
  cin >> s;
  s += "b";
  for (int i = 0; i < 1 * s.size() - 1; ++i)
    if (!isvowel(s[i]))
      if (s[i + 1] == 'n' || !isvowel(s[i + 1])) {
        cout << "NO";
        return 0;
      }
  cout << "YES";
}
