#include #include #include #include #include #include #include using namespace std; int main() { //freopen("A.in","r",stdin); //freopen("A.out","w",stdout); int T; unsigned long long a[4]; scanf ("%d",&T); while(T--) { cin>>a[0]>>a[1]>>a[2]>>a[3]; sort(a,a+4); if (a[0]>0&&a[0]+a[1]>a[3]-a[2]) printf ("Yes\n"); else printf ("No\n"); } return 0; }