#include <iostream>
using namespace std;

struct point { int x; int y; } a, b;

int main() {
	a.x = 1; a.y = -1;
	b.x = 2; b.y = 3;
	point tmp = a; a = b; b = tmp;
	cout << a.x << " " << a.y << endl;
	cout << b.x << " " << b.y << endl;
}