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