Problem2169--Construct a Rectangle

2169: Construct a Rectangle

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MB

Description

Sample Input Copy

4
6 1 5
2 5 2
2 4 2
5 5 4

Sample Output Copy

YES
NO
YES
YES

Source/Category