Program Zif_6_23_v(input,output);
var c,ch:char;
begin
     read(c);
     write(c);
     while c<>'.' do
     begin
          ch:=c;
          read(c);
          if not((c='b')and(ch='c')) then write(c)
     end
end.