#include <bits/stdc++.h>
using namespace std;
int main() {
  int t, i, p, q, r, arr[100], z;
  cin >> t;
  for (i = 0; i < t; i++) {
    cin >> arr[0] >> arr[1] >> arr[2];
    sort(arr, arr + 3);
    p = arr[0];
    q = arr[1];
    z = arr[2];
    if (z > (p + q + 1)) {
      cout << "NO\n";
    } else {
      cout << "YES\n";
    }
  }
}
