#include <bits/stdc++.h>
using namespace std;
bool isVowel(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y')
    return 1;
  return 0;
}
int main() {
  long long n, i;
  string s;
  cin >> n >> s;
  int cnt = 0;
  for (i = 0; s[i]; i++) {
    char f = isVowel(s[i]);
    if (!f) {
      cout << s[i];
      cnt = 0;
    } else {
      if (!cnt) {
        cout << s[i];
        cnt = 1;
      }
    }
  }
  cout << endl;
  return 0;
}
