#include #include #include #include #include #include #include #include #include #include using namespace std; const double eps = 1e-6; const double pi = acos(-1.0); const int INF = 0x3f3f3f3f; const int MOD = 1000000007; #define ll long long #define CL(a,b) memset(a,b,sizeof(a)) #define lson (i<<1) #define rson ((i<<1)|1) #define MAXN 100010 int main() { ll n; ll a[4]; cin>>n; while(n--) { cin>>a[0]>>a[1]>>a[2]>>a[3]; sort(a, a+4); if(a[0] == 0){cout<<"No"<(a[3]-a[0]) || a[2]>((a[3]-a[0])-a[1])) cout<<"Yes"<