#include <bits/stdc++.h>
using namespace std;
int main() {
  int a;
  string s;
  cin >> a >> s;
  bool vowel = false;
  string reponse;
  for (int i = 0; i < a; i++) {
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'y') {
      if (vowel) {
      } else {
        vowel = true;
        reponse += s[i];
      }
    } else {
      vowel = false;
      reponse += s[i];
    }
  }
  cout << reponse << endl;
}
