#include <bits/stdc++.h>
using namespace std;
char s[100005];
int n;
int vis[100005];
bool check(char c) {
  if (c == 'a' || c == 'e' || c == 'i' || c == 'o' || c == 'u' || c == 'y')
    return true;
  return false;
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  memset(vis, 0, sizeof(vis));
  cin >> n;
  cin >> s;
  for (int i = 0; i < n - 1; i++) {
    if (check(s[i]) && check(s[i + 1])) vis[i + 1] = 1;
  }
  for (int i = 0; i < n; i++) {
    if (!vis[i]) cout << s[i];
  }
  cout << "\n";
}
