uses crt; var i:integer; s:string; begin i:=1; read(s); repeat if (s='и') and (i mod 2=0) then s:=copy(s,1,i-1)+copy(s,i+1,length(s)); i:=i+1; until i=length(s)+1; writeln(s); end.