char s[]="0000000000",*p=s-1;k;main(n){for(;fflush(!puts(s)),k=~atoi(gets(&k)),k-n?k