#include<iostream>

using namespace std;

int main() {
    double sz, a, b;
    cin>>sz;
    cout<<"0 0\n";

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

    return 0;
}