You are given four integer values aa, bb, cc and mm.
Check if there exists a string that contains:
- aa letters 'A';
- bb letters 'B';
- cc letters 'C';
- no other letters;
- exactly mm pairs of adjacent equal letters (exactly mm such positions ii that the ii-th letter is equal to the (i+1)(i+1)-th one).
Input
The first line contains a single integer tt (1≤t≤1041≤t≤104) — the number of testcases.
Each of the next tt lines contains the description of the testcase — four integers aa, bb, cc and mm (1≤a,b,c≤1081≤a,b,c≤108; 0≤m≤1080≤m≤108).
Output
For each testcase print "YES" if there exists a string that satisfies all the requirements. Print "NO" if there are no such strings.
You may print every letter in any case you want (so, for example, the strings yEs, yes, Yes and YES will all be recognized as positive answer).
Example
i