fork download
  1. # your code goes here
  2. T=int(input())
  3. for t in range(T):
  4. A,B,C=map(int,input().split())
  5. if(A+B==C or B+C==A or A+C==B ):
  6. print("YES")
  7. else:
  8. print("NO")
Success #stdin #stdout 0.04s 9792KB
stdin
7
1 4 3
2 5 8
9 11 20
0 0 0
20 20 20
4 12 3
15 7 8
stdout
YES
NO
YES
YES
NO
NO
YES