#include "bits/stdc++.h" using namespace std; int main() { int N,M,X;cin>>N>>M>>X; if(X-(N-M)>=3)cout<<"YES"<