#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int t;
  cin >> t;
  while (t--) {
    long long int a[3], i;
    for (i = 0; i < 3; i++) cin >> a[i];
    sort(a, a + 3);
    if (a[2] <= a[1] + a[0] + 1)
      cout << "YES" << endl;
    else
      cout << "NO" << endl;
  }
}
