#UnknownID29. XHXMMMlOPIXKWg#^@<|

XHXMMMlOPIXKWg#^@<|

Statement

Today, Sakurako has a math exam. The teacher gave the array, consisting of a a ones and b b twos.

In an array, Sakurako must place either a '+' or a '-' in front of each element so that the sum of all elements in the array equals 0 0 .

Sakurako is not sure if it is possible to solve this problem, so determine whether there is a way to assign signs such that the sum of all elements in the array equals 0 0 .

Format

Input

The first line contains a single integer t t ( 1t100 1\le t\le 100 ) — the number of test cases.

The only line of each test case contains two integers a a and b b ( 0a,b<10 0\le a,b<10 ) — the number of '1's and the number of '2's in the array.

Output

For each test case, output "YES" if you can make the sum of the entire array equal to 0 0 , and "NO" otherwise.

Sample

5
0 1
0 3
2 0
2 3
3 1
NO
NO
YES
YES
NO