s[9];main(){read(open("a",0),s,s);write(creat("a"),s,read(!puts(s),s,s));}