#include #include #include #include #include using namespace std; int main() { int n,m,x; cin >> n >> m >> x; if(x - (n - m) > 3)cout << "YES\n"; else cout << "NO\n"; return 0; }