#include void solve() { int n, m, x; std::cin >> n >> m >> x; std::cout << (x - (n - m) >= 3 ? "YES" : "NO") << "\n"; } int main() { std::cin.tie(nullptr); std::ios::sync_with_stdio(false); solve(); return 0; }