#include <bits/stdc++.h>
using namespace std;
char x[105];
bool g;
int main() {
  scanf("%s", x);
  for (int i = 0; x[i]; i++)
    if (x[i] == 'a' || x[i] == 'e' || x[i] == 'i' || x[i] == 'o' || x[i] == 'u')
      g = 0;
    else if (g) {
      puts("NO");
      return 0;
    } else if (x[i] != 'n')
      g = 1;
  puts(g ? "NO" : "YES");
  return 0;
}
