program bc(input,output);
var c,a:char;
begin  read(c); write(c);
    while c<>'.' do
       begin  a:=c; read(c);
       if ((a<>'c')or(c<>'b'))and(c<>'.') then write(c)
       end;  writeln
end.