#include #include #include #include #include #include using ll = long long; #define MOD 1000000007 using namespace std; int main(){ int x,y,d1,d2; cout << "0 0" << endl; cin >> d1; cout << "100000 0" << endl; cin >> d2; x = (d1 - d2 + 100000) / 2; y = d1 - x; cout << x << " " << y << endl; }