#include <bits/stdc++.h>
using namespace std;
int main() {
  char s[1000];
  int n, i, j;
  cin >> n;
  getchar();
  cin >> s;
  while (1) {
    int flag = 0;
    for (i = 0; i < n; i++) {
      if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
           s[i] == 'u' || s[i] == 'y') &&
          (s[i - 1] == 'a' || s[i - 1] == 'e' || s[i - 1] == 'i' ||
           s[i - 1] == 'o' || s[i - 1] == 'u' || s[i - 1] == 'y')) {
        flag = 1;
        for (j = i; j < n; j++) {
          s[j] = s[j + 1];
        }
        n--;
      }
    }
    if (flag == 0) break;
  }
  for (i = 0; i < n; i++) cout << s[i];
}
