Adam is standing at point in an infinite 2D grid. He wants to know if he can reach point or not. The only operation he can do is to move to point from some point . It is given that he can move to any point on this 2D grid, i.e., the points having positive or negative (or ) co-ordinates.
Tell Adam whether he can reach or not.
The first line contains an integer, , followed by lines, each containing space-separated integers i.e. , , and .
For each test case, display YES or NO that indicates if Adam can reach or not.