#include <bits/stdc++.h>
using namespace std;
map<char, bool> m;
int n;
char s[105];
int main() {
  m['a'] = 1, m['i'] = 1, m['o'] = 1, m['u'] = 1, m['e'] = 1, m['y'] = 1;
  cin >> n;
  scanf("%s", s);
  int flag = 0;
  for (int i = 0; i < n; i++) {
    if (!m[s[i]]) {
      flag = 0;
      printf("%c", s[i]);
    } else if (!flag) {
      flag = 1;
      printf("%c", s[i]);
    }
  }
  return 0;
}
