#include <bits/stdc++.h>
using namespace std;
char s[100];
bool Check(char c) {
  return (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y');
}
int main() {
  bool t = true;
  int n;
  string s;
  cin >> n >> s;
  while (t) {
    t = false;
    for (int i = 0; i < s.length(); i++)
      if (Check(s[i]) && Check(s[i - 1])) {
        s.erase(i, 1);
        t = true;
      }
  }
  cout << s;
}
