#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main()
{
    int n,a,b,c;
    scanf("%d",&n);
    for (int i = 0 ; i < n ; i++)
    {
        scanf("%d%d%d",&a,&b,&c);
        if (a + b > c && a + c > b && b+c > a)
            printf("YES\n");
        else
            printf("NO\n");
    }
}