#include <bits/stdc++.h>
using namespace std;
int const bound = 1e6 + 2, N = 2e5 + 1;
long long OO = 1e18;
double eps = 1e-6;
int oo = 1e9, mod = 1e9 + 7;
int vow[26];
int main() {
  ios::sync_with_stdio(0);
  vow['a' - 'a'] = 1, vow['e' - 'a'] = 1, vow['i' - 'a'] = 1,
            vow['o' - 'a'] = 1, vow['u' - 'a'] = 1, vow['y' - 'a'] = 1;
  string s, an;
  int n;
  cin >> n;
  cin >> s;
  an += s[0];
  for (int i = 1, l = 0; i < n; i++) {
    if (vow[s[l] - 'a'] && vow[s[i] - 'a'])
      ;
    else {
      an += s[i];
      l = i;
    }
  }
  cout << an << endl;
  return 0;
}
