#include <bits/stdc++.h>
using namespace std;
long long dx[4] = {-1, 0, 1, 0};
long long dy[4] = {0, 1, 0, -1};
bool isF(char c) {
  if (c == 'a' || c == 'e' || c == 'o' || c == 'i' || c == 'u' || c == 'y')
    return true;
  return false;
}
int main() {
  long long a[100005], t, i = 0, j, k, p, q, n, m, count = 0, flag = 0, ans = 0,
                          sum = 0, max1, min1, pos, tmp;
  t = 1;
  while (t--) {
    scanf("%lld", &n);
    string s;
    cin >> s;
    long long l = s.length();
    printf("%c", s[0]);
    for (i = 1; i < l; i++) {
      if (isF(s[i]) && isF(s[i - 1]))
        ;
      else
        printf("%c", s[i]);
    }
  }
  return 0;
}
