#include"bits/stdc++.h" //#include using namespace std; #define print(x) cout<> d; print(d << " " << 0); int a; cin >> a; print(d - a / 2 << " " << a / 2); cin >> d; if (d == 0)return 0; return 0; }