enum M{M;System z;int i,j,k,b;{try{for(;i>=0;i=j+b+b,j=k+b,k=b>0?j:z.in.read())if(i>0)z.out.write(i+=b=1>>i*j-19>>j-k);}catch(Exception e){}}}