#include <bits/stdc++.h>
int main() {
  int n;
  scanf("%d", &n);
  char t;
  char *s = (char *)malloc(sizeof(char) * n + 1);
  scanf("%s", s);
  int i, j = 0;
  char *r = (char *)malloc(sizeof(char) * n);
  r[j++] = s[0];
  for (i = 1; i < n; i++) {
    if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
         s[i] == 'u' || s[i] == 'y') &&
        (s[i - 1] == 'a' || s[i - 1] == 'e' || s[i - 1] == 'i' ||
         s[i - 1] == 'o' || s[i - 1] == 'u' || s[i - 1] == 'y')) {
      continue;
    } else {
      r[j++] = s[i];
    }
  }
  r[j] = '\0';
  printf("%s", r);
  return 0;
}
