#include <iostream>
using namespace std;
int main()
{
double a,b,c;
int n,i;
cin>>n;
for(i=1;i<=n;i++)
{
cin>>a>>b>>c;
if(a+b>c&&a+c>b&&b+c>a&&a-b<c&&a-c<b&&b-c<a)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
return 0;
}
using namespace std;
int main()
{
double a,b,c;
int n,i;
cin>>n;
for(i=1;i<=n;i++)
{
cin>>a>>b>>c;
if(a+b>c&&a+c>b&&b+c>a&&a-b<c&&a-c<b&&b-c<a)
cout<<"YES"<<endl;
else
cout<<"NO"<<endl;
}
return 0;
}