#include <bits/stdc++.h>
using namespace std;
int a[100005];
int isvowel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y') {
    return (1);
  }
  return 0;
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  long long int n;
  cin >> n;
  string s;
  cin >> s;
  int check[n];
  for (int i = 0; i < n; i++) check[i] = 1;
  int f = 0;
  for (int i = 0; i < n; i++) {
    if (isvowel(s[i]) && f == 0)
      f = 1;
    else if (isvowel(s[i]) && f == 1)
      check[i] = 0;
    else if (!isvowel(s[i]) && f == 1)
      f = 0;
  }
  for (int i = 0; i < n; i++) {
    if (check[i] == 1) cout << s[i];
  }
  cout << endl;
}
