#include using namespace std; // 座標(0,0)から(0,99)までを試す。 int main(){ cout << 0 << " " << 0 << endl; int d; cin>>d; if(d==0)return 0; int a = d; cout << d << " " << 0 << endl; cin >> d; if(d==0)return 0; cout << a - d/2 << " " << d/2 << endl; cin >> d; if(d == 0) return 0; return 0; } // 5 7