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