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