#include <bits/stdc++.h>
using namespace std;
const long long int N = 1e6, N2 = 5e3 + 10, mod = 1e9 + 7, inf = 1e10;
const long double PI = 3.1415926535897932;
long long int a[N], dp[N];
int main() {
  ios::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  bool mark = false;
  long long int n;
  string s;
  cin >> n >> s;
  for (long long int i = 0; i < n; i++) {
    if (s[i] != 'a' && s[i] != 'e' && s[i] != 'u' && s[i] != 'i' &&
        s[i] != 'o' && s[i] != 'y') {
      mark = false;
      cout << s[i];
      continue;
    }
    if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'u' || s[i] == 'i' ||
         s[i] == 'o' || s[i] == 'y') &&
        mark == false) {
      cout << s[i];
      mark = true;
    }
  }
}
