#include using namespace std; int main(void) { cin.tie(0); ios::sync_with_stdio(false); int a,b; cout << 0 << " " << 0 << endl; cin >> a; if(a==0) return 0; cout << a << " " << 0 << endl; cin >> b; if(b==0) return 0; cout << (a-b)/2 << " " << b/2 << endl; int c; cin >> c; if(c==0) return 0; return 0; }