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