#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
const double PI = 4 * atan(1.0);
const int maxm = 1e8 + 5;
const int maxn = 1e4 + 5;
const int INF = 0x3f3f3f3f;
inline int read() {
  char x;
  int flag = 0;
  while (x = getchar(), x < '0' || x > '9')
    if (x == '-') flag = 1;
  int u = x - '0';
  while (x = getchar(), x >= '0' && x <= '9') u = (u << 3) + (u << 1) + x - '0';
  if (flag) u = -u;
  return u;
}
char ch[10] = {'a', 'e', 'i', 'o', 'u', 'y'};
int main() {
  ios_base::sync_with_stdio(0), cin.tie(0), cout.tie(0);
  int n;
  string s;
  cin >> n;
  cin >> s;
  int i = 0;
  while (i < n - 1) {
    for (int j = 0; j < 6; j++) {
      if (s[i] == ch[j]) {
        for (int k = 0; k < 6; k++) {
          if (s[i + 1] == ch[k]) {
            s.erase(i + 1, 1);
            i--;
            n--;
            break;
          }
        }
      }
    }
    i++;
  }
  cout << s << endl;
  return 0;
}
