#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string word;
  cin >> word;
  string upd = word;
  bool f = false;
  while (true) {
    f = false;
    for (int i = int(0); i < word.size() - 1; i++) {
      if (word[i] == 'a' || word[i] == 'e' || word[i] == 'i' ||
          word[i] == 'o' || word[i] == 'u' || word[i] == 'y') {
        if (word[i + 1] == 'a' || word[i + 1] == 'e' || word[i + 1] == 'i' ||
            word[i + 1] == 'o' || word[i + 1] == 'u' || word[i + 1] == 'y') {
          upd = "";
          for (int j = int(0); j < word.length(); j++) {
            if (j != i + 1) {
              upd = upd + word[j];
            }
          }
          word = upd;
          f = true;
        }
      }
    }
    if (!f) break;
  }
  cout << word;
}
