#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s1;
  cin >> s1;
  for (int i = 0; i < s1.size() - 1; i++) {
    while ((s1[i] == 'a' || s1[i] == 'o' || s1[i] == 'y' || s1[i] == 'e' ||
            s1[i] == 'u' || s1[i] == 'i') &&
           (s1[i + 1] == 'a' || s1[i + 1] == 'o' || s1[i + 1] == 'y' ||
            s1[i + 1] == 'e' || s1[i + 1] == 'u' || s1[i + 1] == 'i')) {
      s1.erase(i + 1, 1);
    }
  }
  cout << s1 << endl;
  return 0;
}
