EPS/2024/01/29-01-24/sum.py

9 lines
225 B
Python

count = input("")
for i in range(int(count)):
line = input("").split()
numbers = [int(i) for i in line]
numbers.sort()
if numbers[2] == numbers[0]+numbers[1]:
print("YES")
else:
print("NO")