#include using namespace std; int dis[2], ansx = 0, ansy = 0, box = 0; int main(){ cout << 0 << " " << 0 << endl; cin >> dis[0]; cout << 1000000000 << " " << 0 << endl; cin >> dis[1]; box = dis[0] + dis[1] - 1000000000; ansy = box / 2; ansx = dis[0] - ansy; cout << ansx << " " << ansy << endl; return 0; }