#include <bits/stdc++.h>
using namespace std;
const int mx = 1e5, mod = 1e9 + 7;
bool isvowel(char ch) {
  return (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u' ||
          ch == 'y');
}
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  int n;
  cin >> n;
  string word;
  cin >> word;
  for (int i = 0; i < word.length(); ++i) {
    if (i == 0) {
      continue;
    }
    if (isvowel(word[i]) && isvowel(word[i - 1])) {
      word.erase(word.begin() + i);
      i--;
    }
  }
  cout << word << endl;
  return 0;
}
