#include <iostream>
#include <algorithm>
using namespace std;

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