CF1742A.Sum

传统题 时间 2000 ms 内存 256 MiB 3 尝试 1 已通过 1 标签

Sum

You are given three integers aa, bb, and cc. Determine if one of them is the sum of the other two.

Input

The first line contains a single integer tt (1t92611 \leq t \leq 9261) — the number of test cases.

The description of each test case consists of three integers aa, bb, cc (0a,b,c200 \leq a, b, c \leq 20).

Output

For each test case, output "YES" if one of the numbers is the sum of the other two, and "NO" otherwise.

You can output the answer in any case (for example, the strings "yEs", "yes", "Yes" and "YES" will be recognized as a positive answer).

Note

In the first test case, 1+3=41 + 3 = 4.

In the second test case, none of the numbers is the sum of the other two.

In the third test case, 9+11=209 + 11 = 20.

Samples

7
1 4 3
2 5 8
9 11 20
0 0 0
20 20 20
4 12 3
15 7 8
YES
NO
YES
YES
NO
NO
YES

在线编程 IDE

建议全屏模式获得最佳体验