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