#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9 + 322;
const long long LINF = 2e18 + 474;
const int N = 1e5 + 777;
const int MOD = 1e9 + 7;
const double eps = 1e-14;
char c[5] = {'a', 'o', 'u', 'i', 'e'};
bool check(char x) {
  for (int i = 0; i < 5; i++) {
    if (x == c[i]) return true;
  }
  return false;
}
void solve() {
  string ans = "YES";
  string s;
  cin >> s;
  int n = (int)s.size();
  for (int i = 0; i < n - 1; i++) {
    if (!check(s[i]) && s[i] != 'n') {
      if (!check(s[i + 1])) {
        ans = "NO";
      }
    }
  }
  if (!check(s[n - 1]) && s[n - 1] != 'n') {
    ans = "NO";
  }
  cout << ans;
}
int main() {
  if (!1) {
    freopen(
        "474"
        ".in",
        "r", stdin);
    freopen(
        "474"
        ".out",
        "w", stdout);
  }
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  setlocale(LC_ALL, "Russian");
  int T = 1;
  while (T--) solve();
  return 0;
}
