#include <bits/stdc++.h>
using namespace std;
const int N = 111;
int n, c;
string s, v = "aeiouy";
int main() {
  cin >> n >> s;
  for (int i = 0; i < n; i++) {
    int isv = 0;
    for (int j = 0; j < v.size(); j++) {
      if (s[i] == v[j]) {
        isv++;
        break;
      }
    }
    if (isv && c == 0) {
      cout << s[i];
      c++;
    }
    if (isv == 0) {
      cout << s[i];
      c = 0;
    }
  }
}
