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