#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string x;
  cin >> x;
  string y;
  bool ans;
  char c;
  for (int i = 0; i < x.size(); i++) {
    if ((x[i] == 'o' || x[i] == 'y' || x[i] == 'e' || x[i] == 'a' ||
         x[i] == 'i' || x[i] == 'u')) {
      c = x[i];
      ans = 0;
      for (int j = i; j < x.size(); j++) {
        if ((x[j] == 'o' || x[j] == 'y' || x[j] == 'e' || x[j] == 'a' ||
             x[j] == 'i' || x[j] == 'u')) {
          i = j;
          continue;
        } else {
          i = j;
          ans = 1;
          break;
        }
      }
      if (ans == 1) i--;
      y.push_back(c);
    } else
      y.push_back(x[i]);
  }
  cout << y;
  return 0;
}
