#include <bits/stdc++.h>
using namespace std;
const long long MAXN = 1e5 + 10;
const long long INF = 1e18;
const long long MOD = 1e9 + 7;
int main() {
  long long n, k = 0;
  cin >> n;
  string s;
  cin >> s;
  string a = "";
  a += s[0];
  for (int i = 1; i < n; i++) {
    if ((a[k] != 'a' && a[k] != 'e' && a[k] != 'u' && a[k] != 'i' &&
         a[k] != 'o' && a[k] != 'y') ||
        (s[i] != 'a' && s[i] != 'e' && s[i] != 'u' && s[i] != 'i' &&
         s[i] != 'o' && s[i] != 'y')) {
      a += s[i];
      k++;
    }
  }
  cout << a;
}
