#include <bits/stdc++.h>
using namespace std;
const int MX1 = 1e5 + 2;
const int imf1 = 1 << 31, inf1 = ~imf1;
const long long imf2 = 1LL << 63, inf2 = ~imf2;
int main() {
  int t;
  cin >> t;
  for (; t; t--) {
    int a[4];
    cin >> a[1] >> a[2] >> a[3];
    sort(a + 1, a + 4);
    if (a[1] + a[2] >= a[3] - 1)
      cout << "YES\n";
    else
      cout << "NO\n";
  }
  return 0;
}
