#include<iostream>

using namespace std;

int main(){
int n;
cin >> n;
for (int i = 0; i < n; i++){
double a, b, c;
cin >> a >> b >> c;
if (a>0 && a<1000 && b>0 && b<1000 && c>0 && c<1000){
if (a + b>c&&a + c > b&&b + c > a)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
}
return 0;
}