void main(){
  import std.stdio, std.string, std.conv, std.algorithm;

  int n; rd(n);
  auto s=readln.chomp.to!(char[]);

  auto vo=['a', 'e', 'i', 'o', 'u', 'y'],
       used=new bool[](s.length);
  while(true){
    auto found=false;
    foreach(i; 0..(s.length)){
      if(used[i]) continue;
      if(canFind(vo, s[i])==false) continue;
      if(i+1<s.length){
        if(used[i+1]) continue;
        if(canFind(vo, s[i+1])){
          s=s[0..(i+1)]~s[(i+2)..$];
          found=true; break;
        }
      }
    }
    if(found==false) break; 
  }

  writeln(s);
}

void rd(T...)(ref T x){
  import std.stdio, std.string, std.conv;
  auto l=readln.split;
  assert(l.length==x.length);
  foreach(i, ref e; x){
    e=l[i].to!(typeof(e));
  }
}