#include <bits/stdc++.h>
using namespace std;
int mark[105];
int main() {
  int n;
  string m = "aouyei", s;
  cin >> n >> s;
  for (int i = 0; i < n; i++) {
    for (int j = 0; j < m.size(); j++) {
      if (s[i] == m[j]) mark[i] = 1;
    }
  }
  for (int i = 0; i < n; i++) {
    if (mark[i] == 0)
      cout << s[i];
    else if (mark[i - 1] == 0)
      cout << s[i];
  }
}
