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