#include <bits/stdc++.h>
using namespace std;
template <typename T>
void print(T t) {
  for (auto &it : t) cout << it << " ";
  cout << '\n';
}
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
void solve() {
  vector<long long> v(3);
  for (auto &it : v) cin >> it;
  cout << (v[0] + v[1] >= v[3] ? "Yes" : "No") << '\n';
}
int32_t main() {
  ios_base::sync_with_stdio(false), cin.tie(nullptr);
  ;
  solve();
}
