Contests | Virtual Contests | Problems | Submit | Runs Status | Rank List | Forum |

Time Limit: 1.0 Seconds Memory Limit: 65536K

Total Runs: 1129 Accepted Runs: 510

As a student of applied mathematics school of UESTC, WCM likes mathematics. Recently he is absorbed in geometry. But a very easy problem puzzled him. He can't know how to determine whether a quadrilateral is a parallelogram or not. How poor he is! He believes that you, who are regarded as one of his smartest friend, can solve this problem easily. ### Input

The first line contains a positive integer *T*, which means the number of test cases. For each test case, the first line contains four integers X_{1},Y_{1},X_{3},Y_{3}, (X_{1},Y_{1}) is the coordinates of A and (X_{3},Y_{3}) is the coordinates of C. The second line consists of four integers X_{2},Y_{2},X_{4},Y_{4}, (X_{2},Y_{2}) is the coordinates of B and (X_{4},Y_{4}) is the coordinates of D. You can assume that points A, B, C and D are different from each other. ### Output

For each test case, if quadrilateral ABCD is a parallelogram whose diagonals are AC and BD, then output Yes on a line; otherwise, output No.
### Constraints

All the coordinates are between -1000 and 1000.
### Sample Input

### Sample Output

Given two segments, AC and BD, you should determine whether quadrilateral ABCD is a parallelogram whose diagonals are AC and BD.

2 -1 -1 3 3 -2 0 4 2 -1 -2 3 4 3 7 6 9

Yes No

Maintance:Fxz. Developer: SuperHacker, G.D.Retop, Fxz