text: #include <bits/stdc++.h>
  using namespace std;
  
  int main() {
    int a, b, c, n;
    cin >> a >> b >> c >> n;
    if (a >= 1 && b >= 1 && c >= 1 && (a + b + c >= n) && n >= 3) {
      cout << "YES" << endl;
    } else {
      cout << "NO" << endl;
    }
  }