#include #include using namespace atcoder; using namespace std; using ll=long long; using ld=long double; ld pie=3.141592653589793; ll mod=1000000007; ll inf=10099999999999990; int main(){ cout << "0 0" << endl; ll a; cin >> a; if (a==0) { return 0; } cout << "100000 0" << endl; ll b; cin >> b; if (b==0) { return 0; } ll c=a-b; ll x=50000+c/2; cout << "0 100000" << endl; cin >> b; if (b==0) { return 0; } c=a-b; ll y=50000+c/2; cout << x << ' ' << y << endl; ll z; cin >> z; }