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