begin repeat var b,c:char=char(eoln);read(c);if b>#0then c:=^j;write(c,c)until 0>0end.