The input consists of at most 2000 datasets, each in the following format.
x11 y11
x12 y12
x13 y13
x21 y21
x22 y22
x23 y23
xij and yij are the x and y coordinate of the j-th vertex of Ti.
Each dataset satisfies the following conditions.
- Every coordinate is an integer with absolute value at most 1000.
- T1 and T2 have the same area, and that area is positive.
- The six given vertices are all distinct points.
An empty line is placed between datasets. The input ends at end of file.