#include <bits/stdc++.h>
using namespace std;
char c[6] = {'a', 'e', 'i', 'o', 'u', 'y'};
int a[100001];
int main() {
  int i, j, k, n;
  string st;
  cin >> n;
  cin >> st;
  for (i = 0; i < n; i++) {
    for (j = 0; j < 6; j++)
      if (st[i] == c[j]) {
        a[i] = 1;
        j = 6;
      }
  }
  int time = 0;
  for (i = 0; i < n; i++) {
    if (a[i] == 0) {
      cout << st[i];
      time = 0;
    } else if (time == 0) {
      cout << st[i];
      time++;
    }
  }
  cout << endl;
  return 0;
}
