#include using namespace std; using Int = long long; template inline void chmin(T1 &a,T2 b){if(a>b) a=b;} template inline void chmax(T1 &a,T2 b){if(a>z; if(z==0) exit(0); return z; } signed main(){ const Int MAX = 1e9; Int a=ask(0,0); Int b=ask(MAX,0); Int y=(a+b-MAX)/2,x=a-y; ask(x,y); return 0; }