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