#include <bits/stdc++.h>
int Isv(char a) {
  return a == 'a' || a == 'e' || a == 'i' || a == 'o' || a == 'u' || a == 'y';
}
int main(void) {
  int i, n, k, p;
  char c;
  scanf("%d\n", &n);
  k = 0;
  p = 0;
  for (i = 0; i < n; i++) {
    c = getchar();
    if (k == 1 && Isv(c)) {
    } else {
      k = Isv(c);
      putchar(c);
    }
  }
  return 0;
}
