#include <bits/stdc++.h>
using namespace std;
bool vis[26] = {false};
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  int n;
  string s;
  cin >> n;
  cin >> s;
  vis['a' - 'a'] = true;
  vis['e' - 'a'] = true;
  vis['i' - 'a'] = true;
  vis['o' - 'a'] = true;
  vis['u' - 'a'] = true;
  vis['y' - 'a'] = true;
  while (true) {
    bool f = true;
    int len = s.size();
    for (int i = 0; i < len - 1; i++) {
      if (vis[s[i] - 'a'] && vis[s[i + 1] - 'a']) {
        s = s.substr(0, i + 1) + s.substr(i + 2, len - i - 2);
        f = false;
        break;
      }
    }
    if (f) break;
  }
  cout << s << endl;
  return 0;
}
