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

9 lines
225 B
Python
Raw Normal View History

2024-01-30 15:04:05 +01:00
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")