#include <bits/stdc++.h>
using namespace std;
int n;
char sir[105];
int vocala(char x) {
  return ((x == 'a') || (x == 'e') || (x == 'i') || (x == 'u') || (x == 'y') ||
          (x == 'o'));
}
int main() {
  int i, ok;
  cin >> n >> sir;
  i = 0;
  while (i < n) {
    cout << sir[i];
    ok = 0;
    if (vocala(sir[i])) ok = 1;
    i++;
    while ((i < n) && ok && vocala(sir[i])) {
      i++;
    }
  }
  return 0;
}
