#import #import int f,i=1,b;main(){for(;~i--;write(i?f:1,&b,read(f*!i,&b,2000)))f=open("a",i&578);}