#include <bits/stdc++.h>
using namespace std;
#pragma GCC optimize("O3")
#pragma GCC target("sse4")
const double PI = acos(-1.0);
const double EPS = 1e-9;
const long long INF = 1e9;
const long long mod = 1000000007;
const long long LINF = 1e18 + 10;
const long long MAXN = 5e3 + 7;
string r = "aeoiuy";
bool ok(char c) {
  return c == 'a' || c == 'o' || c == 'e' || c == 'u' || c == 'y' || c == 'i';
}
int check(string s) {
  for (int i = (0); i < ((int)((s).size()) - 1); ++i)
    if (ok(s[i]) && ok(s[i + 1])) return i + 1;
  return -1;
}
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n;
  cin >> n;
  string s;
  cin >> s;
  int x = check(s);
  while (x != -1) {
    string t;
    for (int i = (0); i < (x); ++i) t += s[i];
    for (int i = (x + 1); i < ((int)((s).size())); ++i) t += s[i];
    s = t;
    x = check(s);
  }
  cout << s;
  cin >> n;
  return 0;
}
