#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e6 + 100;
int n, cnt = 0, q, l, r, k;
char str[110], ss[110];
bool slove(char s) {
  if (s == 'a' || s == 'e' || s == 'i' || s == 'o' || s == 'u' || s == 'y')
    return 1;
  else
    return 0;
}
int main() {
  int n, cnt = 0;
  scanf("%d", &n);
  scanf("%s", str);
  ss[cnt++] = str[0];
  for (int i = 1; i < n; i++) {
    if (slove(str[i - 1]) && slove(str[i])) {
      continue;
    } else
      ss[cnt++] = str[i];
  }
  ss[cnt] = '\0';
  printf("%s", ss);
}
