#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n;
  cin >> n;
  char str[10000];
  cin >> str;
  if (n == 1) {
    cout << str << "\n";
  } else {
    long long int i, flg = 1;
    long long int j;
    while (flg) {
      flg = 0;
      for (i = 0; i < n - 1; i++) {
        if ((str[i] == 'a' || str[i] == 'e' || str[i] == 'i' || str[i] == 'o' ||
             str[i] == 'u' || str[i] == 'y') &&
            (str[i + 1] == 'a' || str[i + 1] == 'e' || str[i + 1] == 'i' ||
             str[i + 1] == 'o' || str[i + 1] == 'u' || str[i + 1] == 'y')) {
          flg = 1;
          for (j = i + 1; j < n - 1; j++) str[j] = str[j + 1];
          n--;
          break;
        }
      }
    }
    for (i = 0; i < n; i++) cout << str[i];
  }
  return 0;
}
