Owen likes drawing. In drawing, *perspective* is a way of portraying three dimensional objects on a two-dimensional flat surface by suggesting depth or distance. The two most common perspectives are one-point perspective and two-point perspective. In one-point perspective, all the lines that are directly parallel with the viewer's line of sight converge at a unique vanishing point on the horizon line. In two-point perspective, it contains two vanishing points on the horizon line, to which two sets of parallel lines converge.

You task is to develop an intelligent program to help Owen judge whether a given drawing has one-point perspective, two-point perspective, or neither of them. To achieve this, the program needs to first extend all the segments in the drawing to lines. If all the lines (except horizontal or vertical lines) pass through the same point, the drawing must have one-point perspective. If all the lines pass through two points, the drawing must have two-point perspective.

The first line of the input contains the number of test cases `T`.

For each test case, its first line contains an integer `n` with 1 ≤ `n` ≤ 1000, which is the number of segments in the given drawing. Each of the following `n` lines contains four integers `x _{1}`,

For each test case, output one line. If the drawing has one-point perspective, print "One-point perspective". Otherwise, if the drawing has two-point perspective, print "Two-point perspective". Otherwise, print "Other". Notice that you should print "Other" for the following cases.

- All the segments are parallel to the
`x`-axis or`y`-axis. - After excluding horizontal and vertical segments, there exists only one remaining segment.
- After excluding horizontal and vertical segments, all the remaining segments are co-linear.
- After excluding horizontal and vertical segments, all the remaining segments are parallel.

提交代码