#include <bits/stdc++.h>
using namespace std;
int n;
bool m, mar[1000];
char a[1000];
bool f(char x) {
  if (x == 'a' || x == 'e' || x == 'i' || x == 'o' || x == 'u' || x == 'y')
    return true;
  return false;
}
int main() {
  scanf("%d", &n);
  scanf("%s", a);
  for (int i = 0; i < n; i++) {
    if (m && f(a[i])) mar[i] = true;
    if (f(a[i]))
      m = true;
    else
      m = false;
  }
  for (int i = 0; i < n; i++)
    if (!mar[i]) printf("%c", a[i]);
  printf("\n");
  return 0;
}
