You are currently located at coordinate and there is a police officer at . You want to avoid getting caught. The police catches you if they occupy the same coordinate as you.
The rules of movement are:
The police can move to any adjacent coordinate (not diagonally). If they are at , they can go to: (x+1,y), (x,y+1), (x,y-1), (x-1,y).
You cannot walk, but you can shift your coordinates degrees clockwise or counter-clockwise around the origin (see the picture) i.e. teleport.
ATTENTION : this is important ! use iterative bruteforce on the points to determine the answer
You can use your shift ability at most times at any moment, and the police can move at most times. Determine if the police can catch you within moves, assuming you play optimally to escape.
The first line of the input will contain a single integer (1\leq t \leq 10^3) the total number of test cases
The first line contains two integers (0\leq n \leq 10^5) and (0\leq k \leq 10^{18}) — the maximum number of shifts and the maximum number of moves respectively.
The second line of each test case contains two integers , (-10^9 \leq x,y \leq 10^9) — the coordinates of points where you're located currently.
If the police will be able to catch you within moves then print "Yes" otherwise print "No"
You can output the answer in any case (For example, the strings "yEs", "yes", "Yes", and "YeS" will be recognized as positive responses).
Example 1
In the first test case , Police has moves, so it cannot leave and cannot catch you.
In the second test case , You have no shifts. Police needs only move:
Police: (0,0) \rightarrow (1,0) catches immediately
In the third test case , You have plenty of shifts. You can evade within the police's tiny move budget by shifting late.
One evasion sequence:
You don't shift (stay ), police moves toward you:
Police: (0,0) \rightarrow (1,0)
Now you shift (2,0) \rightarrow (0,2) (counterclockwise), police has only one move left:
Distance from police to is |1-0|+|0-2| = 3, but police has only move remaining.
In the fourth test case , If you don't shift at the start, police catches in move: (0,0) \rightarrow (-1,0).
So you must try using your one shift immediately.
Possible positions after one 90^{\circ} shift from :
Clockwise: (-1,0) \rightarrow (0,1)
Counterclockwise: (-1,0) \rightarrow (0,-1)
Subtask ( points) : (n=0)
Subtask ( points) : (-1000 \le x,y \le 1000)
Subtask ( points) : No additional constraints.