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