#include #include #include #include #include #include #include #include #include #define L64 long long #define MOD (1000000007LL) int main(void) { L64 a, b; L64 x, y; std::cout << "0 0" << std::endl << std::flush; std::cin >> a; if(a == 0){ return 0; } std::cout << a << " 0" << std::endl << std::flush; std::cin >> b; y = b / 2; x = a - y; std::cout << x << " " << y << std::endl << std::flush; std::cin >> b; }