#include #include #include #include #include using namespace std; int main() { int n; scanf("%d",&n); while(n--) { unsigned long long a[5]; int flag=0; cin>>a[1]>>a[2]>>a[3]>>a[0]; if(a[1]==0 || a[2]==0 || a[0]==0 ||a[3]==0) flag=1; sort(a,a+4); unsigned long long t1; t1=a[0]+a[1]; a[3]-=a[2]; if(t1>a[3] && flag==0) printf("Yes\n"); else printf("No\n"); } return 0; }