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