#define _USE_MATH_DEFINES #define _CRT_SECURE_NO_WARNINGS #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include //#include using namespace std; //#include int main() { int d; cout << 0 << " " << 0 << endl; cin >> d; if (d == 0)return 0; cout << d << " " << 0 << endl; int r; cin >> r; if (r == 0)return 0; cout << d - r / 2 << " " << r / 2 << endl; return 0; }