#include <bits/stdc++.h>
using namespace std;
const int maxn = 2005;
const char vow[] = {'a', 'e', 'i', 'o', 'u', 'y'};
char str[maxn];
bool check(char ch) {
  for (int i = 0; i < 6; ++i) {
    if (ch == vow[i]) return true;
  }
  return false;
}
int main() {
  int n;
  while (~scanf("%d", &n)) {
    scanf("%s", str);
    for (int i = 0; i < n; ++i) {
      if (check(str[i])) {
        for (int j = i + 1; j < n; ++j) {
          if (str[i] == 0) continue;
          if (check(str[j]))
            str[j] = 0;
          else
            break;
        }
      }
    }
    for (int i = 0; i < n; ++i) {
      if (str[i]) putchar(str[i]);
    }
    puts("");
  }
  return 0;
}
