#include using namespace std; int main() { int N; int M; int X; ios::sync_with_stdio( false ); cin.tie( 0 ); cin >> N; cin >> M; cin >> X; if( X >= 3 + ( N - M ) ) cout << "YES" << endl; else cout << "NO" << endl; return 0; }