#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  char s[n + 1];
  cin >> s;
  int i, j = 0;
  char t[n + 1];
  int c = 1;
  for (i = 0; i < n; i++) {
    if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'u' ||
         s[i] == 'o' || s[i] == 'y') &&
        c == 1) {
      t[j] = s[i];
      c = 0;
      j++;
    } else if (s[i] != 'a' && s[i] != 'e' && s[i] != 'i' && s[i] != 'u' &&
               s[i] != 'o' && s[i] != 'y') {
      t[j] = s[i];
      c = 1;
      j++;
    }
  }
  t[j] = '\0';
  cout << t;
  return 0;
}
