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