#include <bits/stdc++.h>
int main() {
  char str[1000][1000], str1[] = "bcdfghjklmpqrstvwxyz";
  int i, j, k, c = 0, s = 0;
  scanf("%s", str[0]);
  for (i = 0; i < strlen(str[0]); i++) {
    for (j = 0; j < strlen(str1); j++) {
      if (str[0][i] == str1[j]) {
        s = s + 1;
        if (str[0][i + 1] == 'a' || str[0][i + 1] == 'e' ||
            str[0][i + 1] == 'i' || str[0][i + 1] == 'o' ||
            str[0][i + 1] == 'u') {
          c = c + 1;
        }
      }
    }
  }
  if (s == c) {
    printf("YES");
  } else {
    printf("NO");
  }
}
