#include <bits/stdc++.h>
using namespace std;
int main() {
  string s, vowels = "aeiouy";
  int n = 0;
  cin >> n;
  cin >> s;
  for (int i = 0; i < s.size() - 1; i++) {
    while (count(vowels.begin(), vowels.end(), s[i]) &&
           count(vowels.begin(), vowels.end(), s[i + 1])) {
      s.erase(s.begin() + i + 1);
    }
  }
  cout << s;
  return 0;
}
