#include <bits/stdc++.h>
const signed INF = 2147000000, MAXN = 1005000, MOD = 1000000007;
const long long LINF = LLONG_MAX / 4;
const long double EPS = 1e-4;
using namespace std;
int n;
bool a[26], b[MAXN];
string s;
signed main() {
  ios_base::sync_with_stdio(false);
  a[4] = a[0] = a[8] = a[14] = a[20] = a[24] = 1;
  cin >> n >> s;
  for (int i = 0; i < n - 1; i++)
    if (a[s[i] - 'a'] && a[s[i + 1] - 'a']) b[i + 1] = 1;
  for (int i = 0; i < n; i++)
    if (!b[i]) cout << s[i];
  return 0;
}
