d=1<<30,s;main(i){for(;fflush(!printf("%c %d\n",d?63:33,s+(d/=2))),d;s+=atoi(gets(&i))*d);}