#include <bits/stdc++.h>
using namespace std;
int main() {
  int i, j, k, n, cnt;
  int r[110];
  char s[110];
  while (cin >> n >> s) {
    cnt = 0;
    cout << s[0];
    if (s[0] == 'a' || s[0] == 'e' || s[0] == 'i' || s[0] == 'o' ||
        s[0] == 'u' || s[0] == 'y')
      cnt = 1;
    for (i = 1; i < n; i++) {
      if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
          s[i] == 'u' || s[i] == 'y') {
        if (cnt == 0) {
          cout << s[i];
          cnt = 1;
        } else
          continue;
      } else {
        cout << s[i];
        cnt = 0;
      }
    }
    cout << endl;
  }
  return 0;
}
