407725: GYM102881 N Baby !Ehab
Memory Limit:256 MB
Time Limit:1 S
Judge Style:Text Compare
Creator:
Submit:0
Solved:0
Description
N. Baby !Ehabtime limit per test1 secondmemory limit per test256 megabytesinputequal.inoutputstandard output
Baby !Ehab found this problem really hard: given 3 numbers, check if at least 2 of them are equal.
InputThe 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$$$.
OutputFor each testcase, print "YES" if at least 2 of the 3 numbers are equal, "NO" otherwise.
ExampleInput2 1 2 2 2 10 20Output
YES NO