#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0;
  cin >> n;
  string s = "";
  cin >> s;
  vector<char> vocales = {'a', 'e', 'i', 'o', 'u', 'y'};
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < vocales.size(); j++) {
      if (s[i] == vocales[j]) {
        for (int k = 0; k < vocales.size(); k++) {
          if (s[i - 1] == vocales[k]) {
            s.erase(i, 1);
            i = 0;
            break;
          }
        }
      }
    }
  }
  cout << s << endl;
  return 0;
}
