N. Baby !Ehab
time limit per test
1 second
memory limit per test
256 megabytes
input
equal.in
output
standard output

Baby !Ehab found this problem really hard: given 3 numbers, check if at least 2 of them are equal.

Input

The first line contains an integer $$$T$$$, the number of testcases.

The next $$$T$$$ lines, each contains 3 positive numbers. The numbers are between $$$1$$$ and $$$20$$$.

Output

For each testcase, print "YES" if at least 2 of the 3 numbers are equal, "NO" otherwise.

Example
Input
2
1 2 2
2 10 20
Output
YES
NO