#include
using namespace std;
int main()
{
int m;
double a, b, c;
cin >> m ;
for (int i = 0; i < m; i++)
{
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;
}