#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, i, j;
  string s;
  cin >> n;
  cin >> s;
  for (i = 0; i < n; i++) {
    if ((s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
         s[i] == 'u' || s[i] == 'y') &&
        (s[i + 1] == 'a' || s[i + 1] == 'e' || s[i + 1] == 'i' ||
         s[i + 1] == 'o' || s[i + 1] == 'u' || s[i + 1] == 'y')) {
      strcpy(&s[i + 1], &s[i + 2]);
      i--;
    }
  }
  i = 0;
  while (1) {
    if (s[i] == '\0') {
      break;
    }
    cout << s[i];
    i++;
  }
}
