#include <iostream> using namespace std; int main(int argc, char* argv[]) { double a,b,c; int i,n; while (cin>>n) { for(i=0;i<n;i++) { cin>>a>>b>>c; if(a+b>c&&a+c>b&&b+c>a) {cout<<"YES ";} else {cout<<"NO ";} } } return 0; }