#include using namespace std; int n, m, x; int main() { cin >> n >> m >> x; int li = n-m; cout << (x-li>=3 ? "YES" : "NO") << endl; }