#include int main(void) { std::cout << "0 0" << std::endl; long long d0, d1, d2; std::cin >> d0; std::cout << d0 << " 0" << std::endl; std::cin >> d1; if(d1 != 2 * d0 && d1 != 0) { std::cout << d0 - d1 / 2 << " " << d1 / 2 << std::endl; std::cin >> d2; if(d2 != 0) { std::cout << d0 - d1 / 2 << " " << - d1 / 2 << std::endl; std::cin >> d2; } } else if(d1 == 2 * d0) { std::cout << - d0 << " 0" << std::endl; std::cin >> d1; if(d1 == 2 * d0) { std::cout << "0 " << d0 << std::endl; std::cin >> d2; if(d2 != 0) { std::cout << "0 " << -d0 << std::endl; std::cin >> d2; } } else if(d1 != 0) { std::cout << - d0 + d1 / 2 << " " << d1 / 2 << std::endl; std::cin >> d2; if(d2 != 0) { std::cout << - d0 + d1 / 2 << " " << - d1 / 2 << std::endl; std::cin >> d2; } } } return 0; }