ll a,b,i;{for(;++i%2^!a^!b;)wt(a-b/2,b/2),fflush(0),rd(i%2?a:b);}