#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  char change[104];
  int i, j = 0, k, n, temp = 0, chek = 0;
  cin >> n;
  cin >> s;
  for (i = 0; s[i]; i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'y') {
      if (temp == 0) {
        change[j] = s[i];
        j++;
        temp = 1;
      }
    } else {
      if (temp == 1) {
        change[j] = s[i];
        j++;
        temp = 0;
      } else {
        change[j] = s[i];
        j++;
      }
    }
  }
  change[j] = '\0';
  cout << change << endl;
}
