Sharp Triangle

5

1 votes
Problem

SCA invented a new type of triangles and called them as Sharp Triangle. A triangle is said to be a sharp triangle if and only if the triangle has a positive area, and satisfies 2A+2B=2C with A, B, and C, the length of its sides.

Given three integers A, B and C, determine whether a triangle with sides A, B and C is Sharp Triangle.
You have to answer for T independent test cases.


Input:
The first line contains an integer T, representing the number of test cases T test cases follows,
Each test case contains three space-separated integers A, B and C.


Output:
For each test case on a new line, print "YES" (without quotes) if the triangle with given sides is Sharp
Triangle else print "NO".


Constraints
1T104
1A,B,C109

Time Limit: 1
Memory Limit: 256
Source Limit:
Editor Image

?