1 #include<iostream> 2 using namespace std; 3 4 int main() 5 { 6 int M; 7 while(cin>>M) 8 { 9 double a,b,c; 10 while(M--) 11 { 12 cin>>a>>b>>c; 13 if((a+b>c)&&(a+c>b)&&(b+c>a)) 14 cout<<"YES"<<endl; 15 else 16 cout<<"NO"<<endl; 17 } 18 } 19 return 0; 20 }