def quest(x,y): print(x,y,flush=True) d=int(input()) if d: return d else: exit(0) #X座標の決定 L,R=0,10**9 while R-L>2: K=(R-L)//3 alpha=L+K beta =L+2*K A=quest(alpha,0) B=quest(beta ,0) if A2: K=(U-D)//3 alpha=D+K beta =D+2*K A=quest(X,alpha) B=quest(X,beta ) if A