#include <bits/stdc++.h>
using namespace std;
int n;
string s;
bool isVowel(char x) {
  if (x == 'a' or x == 'i' or x == 'u' or x == 'e' or x == 'o' or x == 'y')
    return true;
  return false;
}
int main() {
  scanf("%d", &n);
  cin >> s;
  for (int i = 0; i < s.size(); i++) {
    if (i > 0 and isVowel(s[i]) and isVowel(s[i - 1])) {
      continue;
    } else {
      cout << s[i];
    }
  }
  cout << endl;
}
