#include <iostream>

using namespace std;

int R;

int main() {
	int x, y;
	cin>>R;
	cout << "0 0";
	cout.flush();
	while (!cin.eof()) {
		cin>>x>>y;
		if (cin.good()) {
			cout<<-x << " " << -y;
			cout.flush();
		}
	}
	return 0;
}