var s:string;begin repeat readln(s);writeln(s);readln(s)until 0=1end.