#include <bits/stdc++.h>
using namespace std;
char str[110];
int n;
char str1[110];
map<char, bool> mp;
void pre() {
  mp.clear();
  mp['a'] = mp['e'] = mp['i'] = mp['o'] = mp['u'] = mp['y'] = true;
}
void input() {
  int i, j;
  scanf("%d", &n);
  scanf("%s", str);
}
void solve() {
  int i, j, cnt = 0;
  str1[0] = str[0];
  cnt++;
  for (i = 1; i <= n - 1; i++) {
    if (mp[str[i]] && mp[str[i - 1]]) {
      continue;
    }
    str1[cnt] = str[i];
    cnt++;
  }
  str1[cnt] = '\0';
  printf("%s", str1);
  puts("");
}
int main() {
  pre();
  input();
  solve();
  return 0;
}
