#include <bits/stdc++.h>

using namespace std;
typedef int64_t var;

int main() {
    #ifndef ONLINE_JUDGE
    freopen("debug.in", "r", stdin);
    freopen("debug.out", "w", stdout);
    #endif // ONLINE_JUDGE

    var a, b;
    cout<<"0 0\n";
    cout.flush();
    while(cin>>a>>b) {
        cout<<-a<<" "<<-b<<'\n';
        cout.flush();
    }

    return 0;
}