#include <bits/stdc++.h>
int valid(char prev, char next) {
  char s[] = "aeioun";
  for (int i = 0; i < 6; i++)
    if (prev == s[i]) return 1;
  for (int i = 0; i < 5; i++)
    if (next == s[i]) return 1;
  return 0;
}
int main() {
  char s[300];
  scanf("%s", s);
  int v = 1;
  for (int i = 0; s[i] != '\0'; i++) v &= valid(s[i], s[i + 1]);
  printf("%s\n", v ? "Yes" : "No");
}
