#include <iostream>
#include <algorithm>

using namespace std;

int N;

int main()
{
	cin.sync_with_stdio(false);
	
	cin >> N;
	
	cout << 0 << ' ' << 0 << '\n';
	cout.flush();
	
	double xn, yn;
	while (cin >> xn >> yn)
	{
		cout << -xn << ' ' << -yn << '\n';
		cout.flush();
	}
}