P18707 [HackerEarth] Given two points A and B, output the symmetric point of point A about B.
普及-
题目描述

Given two points A and B, output the symmetric point of point A about B.

Input Format

The first line contains an integer T representing the number of testcases
Each test case is a line containing four space separated integers Px Py Qx Qy representing the (x,y) coordinates of A and B.

Output Format

For each test case output x and y coordinates of the symmetric point (each point in a new line).

Constraints

1⩽T⩽15

−100⩽x,y⩽100

SAMPLE INPUT
2
0 0 1 1
1 1 2 2

SAMPLE OUTPUT
2 2
3 3

输入格式

见题面

输出格式

见题面

样例输入
12 1 5 8 3 2 -4 10 5 8 -6 0 8 8 2 0 4 2 -12 4 -6 5 9 -1 5 6 -5 4 3 7 8 0 4 -9 5 0 4 0 0 5 10 5 5 -8 2 1 7 -6 16
样例输出
3 3 6 1 8 8 3 2 1 1 3 0 13 8 -7 1 -2 0 11 -6