#include <bits/stdc++.h>
using namespace std;
int main() {
  string s;
  int n;
  while (cin >> n >> s) {
    string p = "";
    for (int i = 0; i < s.size(); i++) {
      if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
           s[i] == 'u' || s[i] == 'y') &&
          (s[i + 1] == 'a' || s[i + 1] == 'e' || s[i + 1] == 'i' ||
           s[i + 1] == 'o' || s[i + 1] == 'u' || s[i + 1] == 'y')) {
        p += s[i];
        while (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
               s[i] == 'u' || s[i] == 'y') {
          i++;
        }
        i--;
      } else {
        p += s[i];
      }
    }
    cout << p << endl;
  }
  return 0;
}
