#include <bits/stdc++.h>
using namespace std;
bool check(char c) {
  return (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y');
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) {
    int n;
    cin >> n;
    string s;
    cin >> s;
    cout << s[0];
    for (int i = 1; i < n; ++i) {
      if (check(s[i]) && check(s[i - 1]))
        ;
      else
        cout << s[i];
    }
    cout << "\n";
  }
  return 0;
}
