#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  cin >> n;
  string s, ans;
  cin >> s;
  ans = "";
  for (int i = 0; i < s.size(); i++) {
    ans = ans + s[i];
    if (s[i] == 'a' || s[i] == 'e' || s[i] == 'i' || s[i] == 'o' ||
        s[i] == 'u' || s[i] == 'y') {
      for (int j = i; j < s.size(); j++) {
        if (s[j] == 'a' || s[j] == 'e' || s[j] == 'i' || s[j] == 'o' ||
            s[j] == 'u' || s[j] == 'y') {
          i = j;
        } else {
          break;
        }
      }
    }
  }
  cout << ans << endl;
}
