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