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