program pil_6_23_c(input,output);
var
	c,p : char;
	tmp : boolean;
begin
	read(p, c);
	write(p);
	while c<>'.' do begin
		if not((p='c')and(c='b')) then write(c);
		p := c;
		read(c);
	end;
end.